Skip to content

Commit

Permalink
Merge pull request #2020 from jorgenschaefer/gopar-remove-2.7
Browse files Browse the repository at this point in the history
Remove support for Python 2.7 and fix broken CI setup flow
  • Loading branch information
gopar committed Jul 19, 2023
2 parents c1354a6 + daa2a38 commit e12c86c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ on:

jobs:
build:
runs-on: ubuntu-latest
# As long as we want to test old versions of Python here in the test, we can only use up to Ubuntu 20.
# https://github.com/rwth-i6/returnn/issues/1226
runs-on: ubuntu-20.04
# continue-on-error: true
strategy:
fail-fast: false
Expand All @@ -28,14 +30,13 @@ jobs:
- 27.1
# - snapshot
python_version:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8
steps:
# Checkout
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# Emacs
- name: Set up Emacs ${{ matrix.emacs_version }}
uses: purcell/setup-emacs@master
Expand All @@ -48,9 +49,10 @@ jobs:
version: 'snapshot'
# Python
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version : ${{ matrix.python_version }}
check-latest: true
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit e12c86c

Please sign in to comment.