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