Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test.yml #2047

Merged
merged 2 commits into from
Jul 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 16 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,31 @@ on:

jobs:
build:
# 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
runs-on: ubuntu-22.04
# continue-on-error: true
strategy:
fail-fast: false
matrix:
emacs_version:
# - 24.1
# - 24.2
# - 24.3
# - 24.4
# - 24.5
# - 25.1
# - 25.2
# - 25.3
- 26.1
- 26.2
- 26.3
- 27.1
- 27.2
- 28.1
- 28.2
- 29.2
- 29.3
- 29.4
# - snapshot
python_version:
- 3.6
- 3.7
# - 3.6
# - 3.7
- 3.8
- 3.9
- "3.10"
- 3.11
- 3.12
steps:
# Checkout
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Emacs
- name: Set up Emacs ${{ matrix.emacs_version }}
uses: purcell/setup-emacs@master
Expand All @@ -48,7 +45,7 @@ jobs:
version: 'snapshot'
# Python
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version : ${{ matrix.python_version }}
check-latest: true
Expand All @@ -68,7 +65,7 @@ jobs:
python -m virtualenv $HOME/.virtualenvs/elpy-test-venv
# Run tests
- name: Run Emacs tests
uses: nick-invision/retry@v2
uses: nick-invision/retry@v3
with:
timeout_minutes: 10
max_attempts: 5
Expand Down
Loading