[Tests][CI/CD] Switching to v4 actions
This commit is contained in:
parent
6315728692
commit
cdad14bd36
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
container: ghcr.io/inti-cmnb/kicad_auto_test:${{ matrix.ki_release }}
|
container: ghcr.io/inti-cmnb/kicad_auto_test:${{ matrix.ki_release }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Test ${{ matrix.ki_release }}
|
- name: Test ${{ matrix.ki_release }}
|
||||||
|
|
@ -79,7 +79,7 @@ jobs:
|
||||||
./${{ matrix.w_tests }}.sh
|
./${{ matrix.w_tests }}.sh
|
||||||
- name: Store coverage
|
- name: Store coverage
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Coverage_${{ matrix.ki_release }}_${{ matrix.w_tests }}
|
name: Test_Coverage_${{ matrix.ki_release }}_${{ matrix.w_tests }}
|
||||||
path: .coverage.*
|
path: .coverage.*
|
||||||
|
|
@ -90,7 +90,7 @@ jobs:
|
||||||
python3-coverage html -d output/htmlcov_${{ matrix.w_tests }}
|
python3-coverage html -d output/htmlcov_${{ matrix.w_tests }}
|
||||||
- name: Store results
|
- name: Store results
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Output_${{ matrix.ki_release }}_${{ matrix.w_tests }}
|
name: Test_Output_${{ matrix.ki_release }}_${{ matrix.w_tests }}
|
||||||
# Important! empty directories are skipped!!!!
|
# Important! empty directories are skipped!!!!
|
||||||
|
|
@ -119,7 +119,7 @@ jobs:
|
||||||
container: ghcr.io/inti-cmnb/kicad_auto_test:latest
|
container: ghcr.io/inti-cmnb/kicad_auto_test:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
|
|
@ -141,7 +141,7 @@ jobs:
|
||||||
./g4.sh
|
./g4.sh
|
||||||
- name: Store coverage
|
- name: Store coverage
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Coverage_Independent
|
name: Test_Coverage_Independent
|
||||||
path: .coverage.*
|
path: .coverage.*
|
||||||
|
|
@ -152,7 +152,7 @@ jobs:
|
||||||
python3-coverage html -d output/htmlcov_independent
|
python3-coverage html -d output/htmlcov_independent
|
||||||
- name: Store results
|
- name: Store results
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Output_Independent
|
name: Test_Output_Independent
|
||||||
# Important! empty directories are skipped!!!!
|
# Important! empty directories are skipped!!!!
|
||||||
|
|
@ -192,42 +192,42 @@ jobs:
|
||||||
if: github.ref == 'refs/heads/dev'
|
if: github.ref == 'refs/heads/dev'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Download coverage k5 g1
|
- name: Download coverage k5 g1
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Coverage_ki5_g1
|
name: Test_Coverage_ki5_g1
|
||||||
|
|
||||||
- name: Download coverage k5 g2
|
- name: Download coverage k5 g2
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Coverage_ki5_g2
|
name: Test_Coverage_ki5_g2
|
||||||
|
|
||||||
- name: Download coverage k5 g3
|
- name: Download coverage k5 g3
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Coverage_ki5_g3
|
name: Test_Coverage_ki5_g3
|
||||||
|
|
||||||
- name: Download coverage k6 g1
|
- name: Download coverage k6 g1
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Coverage_ki6_g1
|
name: Test_Coverage_ki6_g1
|
||||||
|
|
||||||
- name: Download coverage k6 g2
|
- name: Download coverage k6 g2
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Coverage_ki6_g2
|
name: Test_Coverage_ki6_g2
|
||||||
|
|
||||||
- name: Download coverage k6 g3
|
- name: Download coverage k6 g3
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Coverage_ki6_g3
|
name: Test_Coverage_ki6_g3
|
||||||
|
|
||||||
- name: Download coverage independent
|
- name: Download coverage independent
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Coverage_Independent
|
name: Test_Coverage_Independent
|
||||||
|
|
||||||
|
|
@ -240,7 +240,7 @@ jobs:
|
||||||
python3-coverage html -d htmlcov
|
python3-coverage html -d htmlcov
|
||||||
|
|
||||||
- name: Store result
|
- name: Store result
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test_Coverage_combined
|
name: Test_Coverage_combined
|
||||||
path: htmlcov
|
path: htmlcov
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue