Update test.yml
This commit is contained in:
parent
6abf687e93
commit
5a24645f09
1 changed files with 10 additions and 9 deletions
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
|
@ -10,10 +10,11 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# Reference the reusable workflow at the job level
|
# Reference the reusable workflow at the top level of the job
|
||||||
uses: nosial/ncc-workflow/.github/workflows/build.yml@main
|
ncc-setup:
|
||||||
with:
|
uses: nosial/ncc-workflow/.github/workflows/build.yml@main
|
||||||
ncc_package_path: build/release/net.nosial.configlib.ncc
|
with:
|
||||||
|
ncc_package_path: build/release/net.nosial.configlib.ncc
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: build
|
needs: build
|
||||||
|
@ -29,11 +30,11 @@ jobs:
|
||||||
name: ncc-build
|
name: ncc-build
|
||||||
path: ncc-build
|
path: ncc-build
|
||||||
|
|
||||||
# Reuse the NCC workflow for the test phase
|
# Reuse the NCC workflow for the test phase
|
||||||
uses: nosial/ncc-workflow/.github/workflows/build.yml@main
|
ncc-setup:
|
||||||
with:
|
uses: nosial/ncc-workflow/.github/workflows/build.yml@main
|
||||||
ncc_package_path: ncc-build/net.nosial.configlib.ncc
|
with:
|
||||||
|
ncc_package_path: ncc-build/net.nosial.configlib.ncc
|
||||||
- name: Run PHPUnit tests
|
- name: Run PHPUnit tests
|
||||||
run: |
|
run: |
|
||||||
wget https://phar.phpunit.de/phpunit-11.3.phar
|
wget https://phar.phpunit.de/phpunit-11.3.phar
|
||||||
|
|
Loading…
Add table
Reference in a new issue