test only on 3.8 and 3.9 #817
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: Run tests | |
on: | |
- pull_request | |
- push | |
jobs: | |
nose-2_7: | |
runs-on: ubuntu-latest | |
container: python:2.7 | |
steps: | |
- run: pip install docopt six nose | |
- uses: actions/checkout@v2 | |
- run: nosetests --with-coverage --cover-tests --cover-inclusive --cover-branches --cover-package=mackup | |
nose: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.8" | |
- "3.9" | |
# - "3.10" # AttributeError: module 'collections' has no attribute 'Callable' | |
# - "3.11" # AttributeError: module 'collections' has no attribute 'Callable' | |
# - "3.12" # ModuleNotFoundError: No module named 'imp' | |
container: python:${{ matrix.python-version }} | |
steps: | |
- run: echo "${HOME}/.local/bin" >> $GITHUB_PATH | |
- run: pip install pipx | |
- run: pipx install poetry | |
- uses: actions/checkout@v2 | |
- run: make test |