From 701a264c91b692193cda0352cf5a4c112dac573c Mon Sep 17 00:00:00 2001 From: Rijnder Wever Date: Thu, 12 Dec 2024 14:36:50 +0100 Subject: [PATCH] ci: add new test dependencies --- .github/workflows/codecov.yml | 4 ++++ .github/workflows/pytest.yml | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 88c2f29..494c7ec 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -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 diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 56ec463..2ae09f9 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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 .