[Tests] Choose 7.0 if nightly image

- Not 6.0.11
This commit is contained in:
Salvador E. Tropea 2023-02-24 11:36:06 -03:00
parent 188850e287
commit 99a39c1b6a
4 changed files with 11 additions and 0 deletions

View File

@ -46,6 +46,8 @@ jobs:
# exit-zero treats all errors as warnings.
flake8 . --count --exit-zero --statistics
- name: Test ${{ matrix.ki_release }}
env:
KI_RELEASE: ${{ matrix.ki_release }}
run: |
rm -rf output
rm -f tests/.local

3
g1.sh
View File

@ -1,3 +1,6 @@
#!/bin/sh
if [ $KI_RELEASE == "nightly" ]; then
export KIAUS_USE_NIGHTLY="7.0"
fi
# Fast tests
pytest-3 -v --durations=0 -m "not slow" -n 2 --test_dir=output

3
g2.sh
View File

@ -1,4 +1,7 @@
#!/bin/sh
if [ $KI_RELEASE == "nightly" ]; then
export KIAUS_USE_NIGHTLY="7.0"
fi
set -e
# Eeschema tests
pytest-3 -v --durations=0 -m "eeschema" --test_dir=output

3
g3.sh
View File

@ -1,3 +1,6 @@
#!/bin/sh
if [ $KI_RELEASE == "nightly" ]; then
export KIAUS_USE_NIGHTLY="7.0"
fi
# PCBnew tests
pytest-3 -v --durations=0 -m "pcbnew" --test_dir=output