From ff6c9ad0342dcf0846d728cf06c2ac189c2aefe8 Mon Sep 17 00:00:00 2001 From: Rijnder Wever Date: Thu, 12 Dec 2024 20:25:55 +0100 Subject: [PATCH] ci: try with newer python --- .github/workflows/codecov.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 3689e49..241ac14 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Set up go # for testing + installing siegfried-based PRONOM detection uses: actions/setup-go@v5 @@ -28,10 +28,12 @@ jobs: run: | go install github.com/richardlehane/siegfried/cmd/sf@latest sf -update + python -m pip install --upgrade pip pip install pytest pytest-cov . - - name: Run tests - run: pytest --cov=mdto --cov-report=xml + - name: Generate coverage + run: | + pytest --cov --cov-report=xml - name: Upload results to Codecov uses: codecov/codecov-action@v5