-
Notifications
You must be signed in to change notification settings - Fork 933
32 lines (29 loc) · 919 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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