8 Commits

Author SHA1 Message Date
7efd74fe34 ci: Label run test command 👷
All checks were successful
CI / test (push) Successful in 1m2s
2024-10-31 11:49:16 +13:00
5a38301d36 ci: Use composer installed phpunit 👷
All checks were successful
CI / test (push) Successful in 1m29s
2024-10-31 10:56:34 +13:00
007ea93946 ci: Update branch selector 👷
Some checks failed
CI / test (push) Failing after 2m4s
2024-10-31 10:50:31 +13:00
defcc3b98c ci: Update branch selector 👷 2024-10-31 10:49:01 +13:00
867db02cde ci: Update branch selector 👷 2024-10-31 10:48:02 +13:00
491046dcf0 ci: Update branch selector 👷 2024-10-31 10:46:58 +13:00
f8be2fc67f ci: Added workflow for develop branch and pull requests 👷 2024-10-31 10:44:59 +13:00
d1e3b2124f chore: Remove unneeded comment 🔥 2024-10-31 10:37:48 +13:00
2 changed files with 24 additions and 1 deletions

View File

@@ -15,7 +15,6 @@ jobs:
id: semrelease
uses: go-semantic-release/action@v1
with:
# custom-arguments: --provider=gitea
hooks: exec
env:
GITEA_TOKEN: ${{ secrets.G_TOKEN }}

24
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: CI
on:
push:
branches:
- "develop"
# pull_request:
# types: [ opened, reopened ]
tags:
- "!**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: "shivammathur/setup-php@v2"
with:
php-version: "7.4"
- uses: "ramsey/composer-install@v3"
- name: "Run Tests with PHPunit"
run: |
/usr/bin/php vendor/phpunit/phpunit/phpunit --configuration ./phpunit.xml.dist