Skip to content

Commit

Permalink
Upgrade ubuntu for test-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
willgearty committed Oct 9, 2023
1 parent 1ecf725 commit f02a9ab
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: test-coverage

jobs:
test-coverage:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -26,19 +26,6 @@ jobs:
extra-packages: any::covr
needs: coverage

- name: Downgrade librsvg2 if needed
if: runner.os == 'Linux'
run: |
curl -O http://launchpadlibrarian.net/509454689/librsvg2-2_2.48.9-1ubuntu0.20.04.1_amd64.deb
sudo apt install --fix-broken --allow-downgrades ./librsvg2-2_2.48.9-1ubuntu0.20.04.1_amd64.deb
curl -O http://launchpadlibrarian.net/509454691/librsvg2-common_2.48.9-1ubuntu0.20.04.1_amd64.deb
sudo apt install --fix-broken --allow-downgrades ./librsvg2-common_2.48.9-1ubuntu0.20.04.1_amd64.deb
curl -O http://launchpadlibrarian.net/509454680/gir1.2-rsvg-2.0_2.48.9-1ubuntu0.20.04.1_amd64.deb
sudo apt install --fix-broken --allow-downgrades ./gir1.2-rsvg-2.0_2.48.9-1ubuntu0.20.04.1_amd64.deb
curl -O http://launchpadlibrarian.net/509454685/librsvg2-dev_2.48.9-1ubuntu0.20.04.1_amd64.deb
sudo apt install --fix-broken --allow-downgrades ./librsvg2-dev_2.48.9-1ubuntu0.20.04.1_amd64.deb
shell: bash

- name: Test coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit f02a9ab

Please sign in to comment.