Update README.md #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
run_test: | |
name: Run | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest,] | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Update pip | |
run: python -m pip install --upgrade pip | |
- name: Install wheel | |
run: python -m pip install --upgrade wheel | |
- name: Install dependencies | |
run: pip install -r ci/requirements.txt | |
- name: Install solt | |
run: pip install . | |
- name: Run tests | |
run: py.test tests --cov solt --cov-report term-missing -v | |
- name: Run black | |
run: black --config=black.toml --check . | |
- name: Run flake8 | |
run: flake8 | |
- name: Run codecov | |
run: codecov | |