This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
Update README.md #331
Workflow file for this run
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: Python tests | |
on: | |
push: | |
branches: [ develop, dev/*, release/* ] | |
pull_request: | |
branches: [ develop, dev/*, release/* ] | |
jobs: | |
backend: | |
timeout-minutes: 20 | |
strategy: | |
matrix: | |
python-versions: ['3.8', '3.9', '3.10', '3.11'] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-versions }} | |
- name: Install Tox | |
run: pip install tox | |
- name: Run linter and all tests except Pyodbc's | |
if: matrix.python-versions == '3.10' && matrix.os == 'windows-latest' | |
env: | |
TOX_PARALLEL_NO_SPINNER: 1 | |
run: tox -p all | |
- name: Run all tests | |
if: matrix.python-versions != '3.10' || matrix.os != 'windows-latest' | |
env: | |
TOX_PARALLEL_NO_SPINNER: 1 | |
run: tox -e all-tests |