Update test.yml

This commit is contained in:
Netkas 2024-09-17 16:50:34 -04:00 committed by GitHub
parent 5a24645f09
commit 20441809cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,8 +10,7 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
# Reference the reusable workflow at the top level of the job - name: Setup NCC
ncc-setup:
uses: nosial/ncc-workflow/.github/workflows/build.yml@main uses: nosial/ncc-workflow/.github/workflows/build.yml@main
with: with:
ncc_package_path: build/release/net.nosial.configlib.ncc ncc_package_path: build/release/net.nosial.configlib.ncc
@ -30,11 +29,11 @@ jobs:
name: ncc-build name: ncc-build
path: ncc-build path: ncc-build
# Reuse the NCC workflow for the test phase - name: Setup NCC
ncc-setup:
uses: nosial/ncc-workflow/.github/workflows/build.yml@main uses: nosial/ncc-workflow/.github/workflows/build.yml@main
with: with:
ncc_package_path: ncc-build/net.nosial.configlib.ncc 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