Skip to content

Commit 5661358

Browse files
committed
Apply suggestions from code review
1 parent fe70b64 commit 5661358

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-python@v5
1515
with:
16-
python-version: 3.12
16+
cache: pip
17+
cache-dependency-path: |
18+
dev-requirements.txt
19+
fluent.syntax/setup.py
20+
fluent.runtime/setup.py
1721
- run: python -m pip install -r dev-requirements.txt
1822
- run: python -m pip install ./fluent.syntax ./fluent.runtime
1923
- run: python -m flake8
@@ -28,10 +32,17 @@ jobs:
2832
- uses: actions/setup-python@v5
2933
with:
3034
python-version: ${{ matrix.python-version }}
35+
cache: pip
36+
cache-dependency-path: |
37+
fluent.syntax/setup.py
38+
fluent.runtime/setup.py
3139
- run: python -m pip install ./fluent.syntax ./fluent.runtime
3240
- run: python -m unittest discover -s fluent.syntax
3341
- run: python -m unittest discover -s fluent.runtime
34-
baseline:
42+
43+
# Test compatibility with the oldest Python version we claim to support,
44+
# and for fluent.runtime's compatibility with a range of fluent.syntax versions.
45+
compatibility:
3546
runs-on: ubuntu-20.04 # https://github.com/actions/setup-python/issues/544
3647
strategy:
3748
matrix:

0 commit comments

Comments
 (0)