Release 2.36.0 (2024-05-30) #24
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: Run unit tests with tox | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Note that this list of versions should correspond with what's in tox.ini | |
python-version: | |
- '2.7' | |
- '3.5' | |
- '3.6' | |
- '3.7' | |
- '3.8' | |
- '3.9' | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox==3.25.0 tox-gh-actions==2.9.1 | |
- name: Run tox (excluding integration tests) | |
env: | |
NOSE_ARGS: -A integration!=1 | |
run: tox |