Skip to content

Commit e53e22b

Browse files
committed
CI tests without git clone
1 parent 8442d1a commit e53e22b

File tree

3 files changed

+8
-16
lines changed

3 files changed

+8
-16
lines changed

.github/workflows/job-test-linux.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,15 @@ jobs:
1717
name: test-linux-${{ inputs.configuration }}
1818
runs-on: ubuntu-24.04
1919
steps:
20-
- name: Checkout repository
21-
uses: actions/checkout@v4
22-
2320
- name: Download Artifacts
2421
uses: actions/download-artifact@v4
2522
with:
2623
name: Build-linux-${{ inputs.configuration }}
2724

2825
- name: Update access permission of ZEngineTests
29-
run: chmod +x ./tests/ZEngineTests
26+
run: chmod +x ${{github.workspace}}/tests/ZEngineTests
3027

3128
- name: Run Tests
3229
env:
3330
LD_LIBRARY_PATH: ${{github.workspace}}/lib
34-
run: ./tests/ZEngineTests
35-
shell: pwsh
31+
run: ${{github.workspace}}/tests/ZEngineTests

.github/workflows/job-test-macOS.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,15 @@ jobs:
1717
name: test-macOS-${{ inputs.architecture }}-${{ inputs.configuration }}
1818
runs-on: ${{ inputs.architecture == 'x64' && 'macos-15-intel' || 'macos-latest' }}
1919
steps:
20-
- name: Checkout repository
21-
uses: actions/checkout@v4
22-
2320
- name: Download Artifacts
2421
uses: actions/download-artifact@v4
2522
with:
2623
name: Build-macOS-${{ inputs.architecture }}-${{ inputs.configuration }}
2724

2825
- name: Update access permission of ZEngineTests
29-
run: chmod +x ./tests/ZEngineTests
26+
run: chmod +x ${{github.workspace}}/tests/ZEngineTests
3027

3128
- name: Run Tests
3229
env:
3330
DYLD_LIBRARY_PATH: ${{github.workspace}}/lib
34-
run: ./tests/ZEngineTests
35-
shell: pwsh
31+
run: ${{github.workspace}}/tests/ZEngineTests

.github/workflows/job-test-windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
name: test-windows-${{ inputs.configuration }}
1515
runs-on: windows-2022
1616
steps:
17-
- name: Checkout repository
18-
uses: actions/checkout@v4
19-
2017
- name: Download All Artifacts
2118
uses: actions/download-artifact@v4
2219
with:
2320
name: Build-Windows-x64-${{ inputs.configuration }}
2421

2522
- name: Run Tests
26-
run: tests\ZEngineTests.exe
23+
shell: pwsh
24+
run: |
25+
$env:PATH= ".\lib;$env:PATH}
26+
.\tests\ZEngineTests.exe

0 commit comments

Comments
 (0)