44 push :
55 branches : [ main ]
66jobs :
7- lint-format-types :
7+ lint-format-types-unit :
88 runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ python-version : ["3.7", "3.11"]
912 steps :
1013 - uses : actions/checkout@v2
11- - name : Setup Python 3.7
14+ - name : Set up Python ${{ matrix.python-version }}
1215 uses : actions/setup-python@v2
1316 with :
14- python-version : ' 3.7'
17+ python-version : ${{ matrix.python-version }}
18+
1519 - name : Install Requirements
1620 run : pip install -r requirements/dev.txt
1721 - name : Pylint
@@ -20,27 +24,21 @@ jobs:
2024 run : black --check ./
2125 - name : Type Check (mypy)
2226 run : mypy dune_client --strict
23- unit-tests :
24- runs-on : ubuntu-latest
25- steps :
26- - uses : actions/checkout@v2
27- - name : Setup Python 3.7
28- uses : actions/setup-python@v2
29- with :
30- python-version : ' 3.7'
31- - name : Install Requirements
32- run :
33- pip install -r requirements/dev.txt
3427 - name : Unit Tests
3528 run : python -m pytest tests/unit
29+
3630 e2e-tests :
3731 runs-on : ubuntu-latest
32+ strategy :
33+ matrix :
34+ python-version : ["3.7", "3.11"]
3835 steps :
3936 - uses : actions/checkout@v2
40- - name : Setup Python 3.7
37+ - name : Set up Python ${{ matrix.python-version }}
4138 uses : actions/setup-python@v2
4239 with :
43- python-version : ' 3.7'
40+ python-version : ${{ matrix.python-version }}
41+
4442 - name : Install Requirements
4543 run :
4644 pip install -r requirements/dev.txt
0 commit comments