This repository was archived by the owner on Feb 17, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11pip==20.1
22nox==2019.11.9
33poetry==1.0.5
4- pre-commit==2.3.0
Original file line number Diff line number Diff line change 11name : Coverage
2+
23on : [push, pull_request]
4+
35jobs :
46 coverage :
57 runs-on : ubuntu-latest
68 steps :
79 - uses : actions/checkout@v2.1.0
8- - uses : actions/setup-python@v1.2.0
10+ - uses : actions/setup-python@v2
911 with :
1012 python-version : " 3.8"
1113 - run : |
Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 steps :
99 - uses : actions/checkout@v2.1.0
10- - uses : actions/setup-python@v1.2.0
10+ - uses : actions/setup-python@v2
1111 with :
1212 python-version : " 3.8"
1313 - run : |
Original file line number Diff line number Diff line change 11name : Tests
2+
23on : [push, pull_request]
4+
35jobs :
46 tests :
7+ name : Tests (${{ matrix.python-version }}, ${{ matrix.os }})
8+ runs-on : ${{ matrix.os }}
59 strategy :
10+ fail-fast : false
611 matrix :
7- os : ["ubuntu-latest", "macos-latest"]
8- python-version : ["3.7", "3.8"]
9- runs-on : ${{ matrix.os }}
10- name : Python ${{ matrix.python-version }} (${{ matrix.os }})
12+ include :
13+ - { python-version: 3.8, os: ubuntu-latest }
14+ # - { python-version: 3.8, os: windows-latest }
15+ - { python-version: 3.8, os: macos-latest }
16+ - { python-version: 3.7, os: ubuntu-latest }
1117 steps :
12- - uses : actions/checkout@v2.1.0
13- - uses : actions/setup-python@v1.2.0
18+ - name : Check out the repository
19+ uses : actions/checkout@v2.1.0
20+
21+ - name : Set up Python ${{ matrix.python-version }}
22+ uses : actions/setup-python@v2
1423 with :
1524 python-version : ${{ matrix.python-version }}
16- - run : |
25+
26+ - name : Upgrade pip
27+ run : |
1728 pip install --constraint=.github/workflows/constraints.txt pip
18- pip install --constraint=.github/workflows/constraints.txt nox poetry
19- - run : nox --force-color
29+ pip --version
30+
31+ - name : Install Poetry
32+ run : |
33+ pip install --constraint=.github/workflows/constraints.txt poetry
34+ poetry --version
35+
36+ - name : Install Nox
37+ run : |
38+ pip install --constraint=.github/workflows/constraints.txt nox
39+ nox --version
40+
41+ - name : Run Nox
42+ run : |
43+ nox --force-color
Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v2.5.0
3+ rev : v3.0.1
44 hooks :
55 - id : check-toml
66 - id : check-yaml
You can’t perform that action at this time.
0 commit comments