File tree Expand file tree Collapse file tree 6 files changed +78
-101
lines changed
Expand file tree Collapse file tree 6 files changed +78
-101
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22
33gpg -q --batch --yes -d --passphrase=" $FILES_PASSPHRASE " \
4- -o tests/files.tar tests/files.enc
5- tar xf tests/files.tar -C tests/
4+ -o tests/files.tar.bz2 tests/files.enc
5+ tar xjf tests/files.tar.bz2 -C tests/
Original file line number Diff line number Diff line change @@ -15,24 +15,21 @@ jobs:
1515
1616 steps :
1717 - uses : actions/checkout@v3
18+ - name : Install poetry
19+ run : pipx install poetry
1820 - name : Set up Python ${{ matrix.python-version }}
1921 uses : actions/setup-python@v4
2022 with :
2123 python-version : ${{ matrix.python-version }}
24+ cache : ' poetry'
2225 - name : Extract test files
2326 run : ./.github/scripts/extract_files.sh
2427 env :
2528 FILES_PASSPHRASE : ${{ secrets.FILES_PASSPHRASE }}
26- - name : Install and configure poetry
27- uses : snok/install-poetry@v1
28- with :
29- virtualenvs-create : false
3029 - name : Install dependencies
3130 run : poetry install -E mupdf
32- if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
3331 - name : Test with pytest
34- run : |
35- pytest
32+ run : poetry run pytest
3633 env :
3734 BAD_CAS_FILE : ${{ secrets.BAD_CAS_FILE }}
3835 CAMS_CAS_FILE : ${{ secrets.CAMS_CAS_FILE }}
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ dmypy.json
132132
133133tests /files /**
134134tests /files.tar
135+ tests /files.tar.bz2
135136.DS_Store
136137
137138casparser.code-workspace
Original file line number Diff line number Diff line change 1515 rev : 23.7.0
1616 hooks :
1717 - id : black
18- language_version : python3.8
You can’t perform that action at this time.
0 commit comments