Skip to content

deprecating 3.7

deprecating 3.7 #93

Workflow file for this run

name: Test envolved
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
unittest:
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12"] # format: 3.7, 3.8, 3.9
platform: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install PIP
run: |
python -m pip install --upgrade pip
- name: Install dependencies
run: |
sh scripts/install.sh
- name: Lint
if: matrix.python-version != '3.7'
run: |
poetry run sh scripts/lint.sh
- name: Tests
run: |
poetry run sh scripts/unittest.sh
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
flags: unittests