Update test.yml

This commit is contained in:
Netkas 2024-09-17 16:36:28 -04:00 committed by netkas
parent f9d96524e9
commit 2d7c840468

View file

@ -10,20 +10,10 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Use NCC Workflow # Reference the reusable workflow at the job level
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
- name: Build project
run: |
ncc build --config release --log-level debug
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ncc-build
path: build/release/net.nosial.configlib.ncc
test: test:
needs: build needs: build
@ -39,10 +29,10 @@ jobs:
name: ncc-build name: ncc-build
path: ncc-build path: ncc-build
- name: Use NCC Workflow # Reuse the NCC workflow for the test phase
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: |