8
8
strategy :
9
9
max-parallel : 10
10
10
matrix :
11
- sql-alchemy : ["1.2", "1.3"]
11
+ sql-alchemy : ["1.2", "1.3", "1.4" ]
12
12
python-version : ["3.6", "3.7", "3.8", "3.9"]
13
13
14
14
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
0 commit comments