Skip to content

test only on 3.8 and 3.9 #817

test only on 3.8 and 3.9

test only on 3.8 and 3.9 #817

Workflow file for this run

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