Tests
This commit is contained in:
parent
54fd6aaeb5
commit
f501c50d51
|
@ -17,9 +17,15 @@ runs:
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v3
|
||||||
|
|
||||||
|
- name: Download Artifact
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: tests-linux-x64
|
||||||
|
path: _tests
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
shell: bash
|
shell: bash
|
||||||
runs: |
|
runs: |
|
||||||
for i in tests/${{ inputs.pattern }}; do
|
for i in _tests/${{ inputs.pattern }}; do
|
||||||
dotnet test $i --no-build -c Release --filter ${{ inputs.filter }}
|
dotnet test $i --no-build -c Release --filter ${{ inputs.filter }}
|
||||||
done
|
done
|
||||||
|
|
|
@ -77,7 +77,7 @@ jobs:
|
||||||
|
|
||||||
# global.json Artifact
|
# global.json Artifact
|
||||||
|
|
||||||
- name: Publish Distribution Artifact
|
- name: Publish global.json Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: global_json
|
name: global_json
|
||||||
|
@ -114,16 +114,8 @@ jobs:
|
||||||
needs: backend
|
needs: backend
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download global.json
|
- name: Check out
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
|
||||||
name: global_json
|
|
||||||
|
|
||||||
- name: Download Artifact
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: tests-linux-x64
|
|
||||||
path: tests
|
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: ./.github/actions/test
|
uses: ./.github/actions/test
|
||||||
|
|
Loading…
Reference in New Issue