Skip to content

Commit 69946fe

Browse files
committed
Test older Trino versions only with a single version of Python
1 parent 26c3348 commit 69946fe

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,27 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
python-version: [
37+
python: [
3838
"3.7",
3939
"3.8",
4040
"3.9",
4141
"3.10",
4242
"pypy-3.7",
4343
"pypy-3.8",
4444
]
45-
trino-version: [
46-
"351", # first Trino version
45+
trino: [
4746
"latest",
4847
]
48+
include:
49+
# Test with older Trino versions for backward compatibility
50+
- { python: "3.10", trino: "351" } # first Trino version
4951
env:
50-
TRINO_VERSION: "${{ matrix.trino-version }}"
52+
TRINO_VERSION: "${{ matrix.trino }}"
5153
steps:
5254
- uses: actions/checkout@v2
5355
- uses: actions/setup-python@v2
5456
with:
55-
python-version: ${{ matrix.python-version }}
57+
python-version: ${{ matrix.python }}
5658
- name: Install dependencies
5759
run: |
5860
sudo apt-get update

0 commit comments

Comments
 (0)