Skip to content

Commit

Permalink
ci: add new test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rien333 committed Dec 12, 2024
1 parent d405ea2 commit 701a264
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ jobs:
with:
python-version: '3.11'

- name: Set up go # for testing + installing siegfried-based PRONOM detection
uses: actions/setup-go@v5

- name: Install mdto.py and dependencies
run: |
go install github.com/richardlehane/siegfried/cmd/sf@latest
pip install pytest pytest-cov .
- name: Run tests
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ jobs:
with:
python-version: '3.11'

- name: Install mdto.py and dependencies
- name: Set up go # for testing + installing siegfried-based PRONOM detection
uses: actions/setup-go@v5

- name: Install mdto.py and test dependencies
run: |
go install github.com/richardlehane/siegfried/cmd/sf@latest
pip install pytest # pytest ≠ project dep, so add it here
pip install .
Expand Down

0 comments on commit 701a264

Please sign in to comment.