19 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
ad401888f8 ci: only run release on master branch 💚👷 2024-10-31 10:35:25 +13:00
80219635ad fix: unset repo_name 💚
Some checks failed
Create Distribution / Create Archive (push) Failing after 5s
CI / release (push) Successful in 1m41s
Also remove the overwrite_files toggle.
2024-10-30 10:09:25 +13:00
2d2047f0b9 fix: Fixing CI. Set (package) repo name variable 👷🔥
All checks were successful
CI / release (push) Successful in 12s
Create Distribution / Create Archive (push) Successful in 1m33s
2024-10-30 09:53:24 +13:00
443f5eefa9 fix: Fixing CI. Use tag ref from ENV 👷🔥
All checks were successful
CI / release (push) Successful in 14s
Create Distribution / Create Archive (push) Successful in 1m32s
2024-10-30 09:38:47 +13:00
fe8fac0e07 fix: Fixing CI. Use tag ref from ENV 👷🔥
Some checks failed
CI / release (push) Successful in 14s
Create Distribution / Create Archive (push) Failing after 1m32s
2024-10-30 09:31:40 +13:00
fe7e429568 fix: Fixing CI. Update variables 👷🔥
Some checks failed
CI / release (push) Successful in 15s
Create Distribution / Create Archive (push) Failing after 5s
2024-10-30 09:29:50 +13:00
f7e5bf4cd9 fix: Fixing CI. Update variables 👷🔥
Some checks failed
CI / release (push) Successful in 15s
Create Distribution / Create Archive (push) Failing after 5s
2024-10-30 09:25:58 +13:00
1b69a901d9 fix: Fixing CI. Update variables 👷🔥
Some checks failed
CI / release (push) Successful in 13s
Create Distribution / Create Archive (push) Failing after 5s
2024-10-30 09:23:00 +13:00
ee889a3841 fix: Fixing CI. List build dir too 👷🔥
Some checks failed
CI / release (push) Successful in 17s
Create Distribution / Create Archive (push) Failing after 5s
2024-10-29 23:33:58 +13:00
4400bff0b4 fix: Fixing CI. Use master branch 👷🔥
Some checks failed
CI / release (push) Successful in 20s
Create Distribution / Create Archive (push) Failing after 1m30s
2024-10-29 22:07:41 +13:00
8b9534bc91 fix: Fixing CI. Added directory listing 👷🔥
Some checks failed
CI / release (push) Successful in 13s
Create Distribution / Create Archive (push) Failing after 5s
2024-10-29 21:40:11 +13:00
3 changed files with 30 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ name: CI
on:
push:
branches:
- "**"
- "master"
tags:
- "!**"
@@ -11,11 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Release Archive
- name: Create Release
id: semrelease
uses: go-semantic-release/action@v1
with:
# custom-arguments: --provider=gitea
hooks: exec
env:
GITEA_TOKEN: ${{ secrets.G_TOKEN }}

View File

@@ -12,13 +12,11 @@ jobs:
steps:
- uses: actions/checkout@v4 # Checkout Sourcecode
- uses: https://hub.cybercinch.nz/cybercinch/composer-build-action@v1
- run: |
ls -lah
- uses: https://hub.cybercinch.nz/guisea/gitea-composer-upload-action@v1
- uses: https://hub.cybercinch.nz/guisea/gitea-composer-upload-action@master
with:
base_url: "${{ secrets.G_SERVER_URL}}"
baseurl: "${{ secrets.G_SERVER_URL}}"
access_token: "${{ secrets.G_TOKEN }}"
username: "${{ secrets.G_USERNAME }}"
owner: "cybercinch" # Override owner name for repository (Optional)
package_version: "${{ env.GITHUB_REF_NAME }}"
owner: "cybercinch" # Override owner name for repository (Optional) Only if different from username
version: "${{ env.GITHUB_REF_NAME }}"

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