parent
188850e287
commit
99a39c1b6a
|
|
@ -46,6 +46,8 @@ jobs:
|
||||||
# exit-zero treats all errors as warnings.
|
# exit-zero treats all errors as warnings.
|
||||||
flake8 . --count --exit-zero --statistics
|
flake8 . --count --exit-zero --statistics
|
||||||
- name: Test ${{ matrix.ki_release }}
|
- name: Test ${{ matrix.ki_release }}
|
||||||
|
env:
|
||||||
|
KI_RELEASE: ${{ matrix.ki_release }}
|
||||||
run: |
|
run: |
|
||||||
rm -rf output
|
rm -rf output
|
||||||
rm -f tests/.local
|
rm -f tests/.local
|
||||||
|
|
|
||||||
3
g1.sh
3
g1.sh
|
|
@ -1,3 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
if [ $KI_RELEASE == "nightly" ]; then
|
||||||
|
export KIAUS_USE_NIGHTLY="7.0"
|
||||||
|
fi
|
||||||
# Fast tests
|
# Fast tests
|
||||||
pytest-3 -v --durations=0 -m "not slow" -n 2 --test_dir=output
|
pytest-3 -v --durations=0 -m "not slow" -n 2 --test_dir=output
|
||||||
|
|
|
||||||
3
g2.sh
3
g2.sh
|
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
if [ $KI_RELEASE == "nightly" ]; then
|
||||||
|
export KIAUS_USE_NIGHTLY="7.0"
|
||||||
|
fi
|
||||||
set -e
|
set -e
|
||||||
# Eeschema tests
|
# Eeschema tests
|
||||||
pytest-3 -v --durations=0 -m "eeschema" --test_dir=output
|
pytest-3 -v --durations=0 -m "eeschema" --test_dir=output
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue