deal with backport StrEnum doesn't work with python <3.10 and requirements.txt for backports
This commit is contained in:
10
.github/workflows/unit_tests.yml
vendored
10
.github/workflows/unit_tests.yml
vendored
@@ -33,16 +33,6 @@ jobs:
|
||||
pip install pytest
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Backport to 3.8
|
||||
if: matrix.python-version == '3.8'
|
||||
run: |
|
||||
pip install backports.zoneinfo
|
||||
|
||||
- name: Backport StrEnum
|
||||
if: matrix.python-version < '3.11'
|
||||
run: |
|
||||
pip install backports.strenum
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
python -m pytest tests
|
||||
|
||||
Reference in New Issue
Block a user