@@ -14,30 +14,37 @@ permissions:
14
14
jobs :
15
15
Check :
16
16
17
- runs-on : ubuntu-latest
18
- env :
19
- AWS_DEFAULT_REGION : us-east-1
20
17
strategy :
18
+ fail-fast : false
21
19
matrix :
22
20
python-version : [3.8]
21
+ platform : [ubuntu-latest, macos-latest, windows-latest]
22
+
23
+ env :
24
+ AWS_DEFAULT_REGION : us-east-1
25
+
26
+ runs-on : ${{ matrix.platform }}
23
27
24
28
steps :
25
29
- uses : actions/checkout@v3
26
30
- name : Set up Python ${{ matrix.python-version }}
27
31
uses : actions/setup-python@v4
28
32
with :
29
33
python-version : ${{ matrix.python-version }}
34
+ - name : Upgrade Pip
35
+ run : python -m pip install --upgrade pip
36
+ - name : Install Poetry
37
+ run : python -m pip install poetry
30
38
- name : Install Requirements
31
39
run : |
32
- python -m pip install --upgrade pip
33
- python -m pip install poetry
34
- poetry config virtualenvs.create false --local
40
+ poetry config virtualenvs.in-project true
41
+ poetry config virtualenvs.path .venv
35
42
poetry install -vvv
36
43
- name : Test Metadata
37
- run : pytest tests/unit/test_metadata.py
44
+ run : poetry run pytest tests/unit/test_metadata.py
38
45
- name : Test Session
39
- run : pytest tests/unit/test_session.py
46
+ run : poetry run pytest tests/unit/test_session.py
40
47
- name : Test Utils
41
- run : pytest tests/unit/test_utils.py
48
+ run : poetry run pytest tests/unit/test_utils.py
42
49
- name : Test Moto
43
- run : pytest -n 4 tests/unit/test_moto.py
50
+ run : poetry run pytest -n 4 tests/unit/test_moto.py
0 commit comments