Skip to content

Commit

Permalink
use pinned ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitsanj committed Aug 3, 2024
1 parent 508a51e commit 894cf0a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,16 @@ on:
jobs:
build-n-test-n-coverage:
name: Build, test and code coverage
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12]
env:
OS: ubuntu-latest
PYTHON: "3.8"

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -33,7 +29,7 @@ jobs:
- name: Run the tests
run: tox
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests
Expand Down

0 comments on commit 894cf0a

Please sign in to comment.