mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
use actions if statment instead of bash
This commit is contained in:
parent
35da16f203
commit
491cbe85f0
1 changed files with 3 additions and 8 deletions
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
|
@ -87,15 +87,10 @@ jobs:
|
||||||
archivebox version
|
archivebox version
|
||||||
|
|
||||||
- name: Test built package with pytest
|
- name: Test built package with pytest
|
||||||
env:
|
# TODO: remove this exception for windows once we get tests passing on that platform
|
||||||
OS: ${{ matrix.os }}
|
if: !contains(matrix.os, 'windows')
|
||||||
run: |
|
run: |
|
||||||
# TODO: remove this exception for windows once we get tests passing on that platform
|
python -m pytest -s
|
||||||
if [[ "$OS" == "windows-latest" ]]; then
|
|
||||||
echo "Skipping tests on Windows"
|
|
||||||
else
|
|
||||||
python -m pytest -s
|
|
||||||
fi
|
|
||||||
|
|
||||||
docker_tests:
|
docker_tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue