This repository was archived by the owner on May 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +52
-39
lines changed
Expand file tree Collapse file tree 5 files changed +52
-39
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : tests
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - ' *.x'
8+ pull_request :
9+ branches :
10+ - master
11+ - ' *.x'
12+ jobs :
13+ tests :
14+ name : ${{ matrix.python }}
15+ runs-on : ubuntu-latest
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ python :
20+ - ' 3.9'
21+ - ' 3.8'
22+ - ' 3.7'
23+ - ' 3.6'
24+ steps :
25+ - uses : actions/checkout@v2
26+ - uses : actions/setup-python@v2
27+ with :
28+ python-version : ${{ matrix.python }}
29+ - uses : actions/cache@v1
30+ with :
31+ path : ~/.cache/pip
32+ key : pip|${{ hashFiles('setup.py') }}|${{ hashFiles('tox.ini') }}
33+ - run : pip install tox
34+ - run : tox -e py
35+ style :
36+ runs-on : ubuntu-latest
37+ steps :
38+ - uses : actions/checkout@v2
39+ - uses : actions/setup-python@v2
40+ with :
41+ python-version : ' 3.9'
42+ - uses : actions/cache@v1
43+ with :
44+ path : ~/.cache/pip
45+ key : pip|${{ hashFiles('setup.py') }}|${{ hashFiles('tox.ini') }}
46+ - uses : actions/cache@v1
47+ with :
48+ path : ~/.cache/pre-commit
49+ key : pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}
50+ - run : pip install tox
51+ - run : tox -e flake8
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ tox = ">=3.0.0"
1616"flake8" = " >=0.6.1"
1717tox-pyenv = " >=1.1.0"
1818invoke = " >=0.23.0"
19- tox-travis = " *"
2019importlib_resources = " *"
2120
2221[requires ]
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ passenv =
1818 CI
1919 PYTEST_ADDOPTS
2020 TERM
21- coverage: TRAVIS TRAVIS_*
2221setenv =
2322 coverage: PYTEST_ADDOPTS =--cov --cov-report =term-missing {env:PYTEST_ADDOPTS:}
2423commands = pytest {posargs:tests}
You can’t perform that action at this time.
0 commit comments