Skip to content

Commit 4cbc93b

Browse files
committed
Add tests for sqlalchemy1.4
1 parent b2d2dd9 commit 4cbc93b

File tree

2 files changed

+26
-25
lines changed

2 files changed

+26
-25
lines changed

.github/workflows/tests.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,31 @@ jobs:
88
strategy:
99
max-parallel: 10
1010
matrix:
11-
sql-alchemy: ["1.2", "1.3"]
11+
sql-alchemy: ["1.2", "1.3", "1.4"]
1212
python-version: ["3.6", "3.7", "3.8", "3.9"]
1313

1414
steps:
15-
- uses: actions/checkout@v2
16-
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v2
18-
with:
19-
python-version: ${{ matrix.python-version }}
20-
- name: Install dependencies
21-
run: |
22-
python -m pip install --upgrade pip
23-
pip install tox tox-gh-actions
24-
- name: Test with tox
25-
run: tox
26-
env:
27-
SQLALCHEMY: ${{ matrix.sql-alchemy }}
28-
TOXENV: ${{ matrix.toxenv }}
29-
- name: Upload coverage.xml
30-
if: ${{ matrix.sql-alchemy == '1.3' && matrix.python-version == '3.9' }}
31-
uses: actions/upload-artifact@v2
32-
with:
33-
name: graphene-sqlalchemy-coverage
34-
path: coverage.xml
35-
if-no-files-found: error
36-
- name: Upload coverage.xml to codecov
37-
if: ${{ matrix.sql-alchemy == '1.3' && matrix.python-version == '3.9' }}
38-
uses: codecov/codecov-action@v1
15+
- uses: actions/checkout@v2
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install tox tox-gh-actions
24+
- name: Test with tox
25+
run: tox
26+
env:
27+
SQLALCHEMY: ${{ matrix.sql-alchemy }}
28+
TOXENV: ${{ matrix.toxenv }}
29+
- name: Upload coverage.xml
30+
if: ${{ matrix.sql-alchemy == '1.3' && matrix.python-version == '3.9' }}
31+
uses: actions/upload-artifact@v2
32+
with:
33+
name: graphene-sqlalchemy-coverage
34+
path: coverage.xml
35+
if-no-files-found: error
36+
- name: Upload coverage.xml to codecov
37+
if: ${{ matrix.sql-alchemy == '1.3' && matrix.python-version == '3.9' }}
38+
uses: codecov/codecov-action@v1

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ python =
1616
SQLALCHEMY =
1717
1.2: sql12
1818
1.3: sql13
19+
1.4: sql14
1920

2021
[testenv]
2122
passenv = GITHUB_*

0 commit comments

Comments
 (0)