Skip to content

Commit

Permalink
Switch back to hard-coding latest Anki config
Browse files Browse the repository at this point in the history
Sadly it looks like the env context can only be used inside steps:

actions/runner#480
  • Loading branch information
glutanimate committed Aug 31, 2021
1 parent 38975f5 commit fc9bb44
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
name: tests

env:
# LATEST variables specify the set-up for the latest tested Anki version
# TODO: have these automatically be updated once a new Anki tag is pushed
# and it passes pytest_anki's test suite
LATEST_ANKI: 2.1.47
LATEST_PYTHON: 3.8.1
LATEST_PYQT: 5.15.1
LATEST_PYQTWEBENGINE: 5.15.1

on:
pull_request:
paths-ignore:
Expand All @@ -24,10 +15,10 @@ jobs:
strategy:
matrix:
include:
- anki: ${{ env.LATEST_ANKI }}
python: ${{ env.LATEST_PYTHON }}
pyqt: ${{ env.LATEST_PYQT }}
pyqtwebengine: ${{ env.LATEST_PYQTWEBENGINE }}
- anki: 2.1.47
python: 3.8.1
pyqt: 5.15.1
pyqtwebengine: 5.15.1
- anki: 2.1.44
python: 3.8.1
pyqt: 5.14.2
Expand Down Expand Up @@ -85,10 +76,10 @@ jobs:
strategy:
matrix:
include:
- anki: ${{ env.LATEST_ANKI }}
python: ${{ env.LATEST_PYTHON }}
pyqt: ${{ env.LATEST_PYQT }}
pyqtwebengine: ${{ env.LATEST_PYQTWEBENGINE }}
- anki: 2.1.47
python: 3.8.1
pyqt: 5.15.1
pyqtwebengine: 5.15.1
steps:
- name: Checkout pytest-anki
uses: actions/checkout@v2
Expand Down

0 comments on commit fc9bb44

Please sign in to comment.