mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-26 07:44:41 +02:00
use actions if statment instead of bash
This commit is contained in:
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@@ -87,15 +87,10 @@ jobs:
|
||||
archivebox version
|
||||
|
||||
- name: Test built package with pytest
|
||||
env:
|
||||
OS: ${{ matrix.os }}
|
||||
# TODO: remove this exception for windows once we get tests passing on that platform
|
||||
if: !contains(matrix.os, 'windows')
|
||||
run: |
|
||||
# TODO: remove this exception for windows once we get tests passing on that platform
|
||||
if [[ "$OS" == "windows-latest" ]]; then
|
||||
echo "Skipping tests on Windows"
|
||||
else
|
||||
python -m pytest -s
|
||||
fi
|
||||
python -m pytest -s
|
||||
|
||||
docker_tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
Reference in New Issue
Block a user