File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : tests
2+
3+ on :
4+ push :
5+ pull_request :
6+ branches :
7+ - $default-branch
8+
9+ jobs :
10+ build :
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ matrix :
14+ os : [ubuntu-latest, macos-latest, windows-latest]
15+ python-version : ['3.8', '3.9', '3.10']
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ with :
20+ fetch-depth : 0
21+ - uses : actions/setup-python@v2
22+ with :
23+ python-version : ${{ matrix.python-version }}
24+ architecture : x64
25+ - run : pip install -r requirements_ci.txt
26+ - run : git clone https://github.com/PyCQA/pycodestyle ../pycodestyle
27+ - run : cd ../pycodestyle && python setup.py build && cd -
28+ - run : git clone https://github.com/mbdevpl/argunparse ../argunparse
29+ - run : cd ../argunparse && pip install -r test_requirements.txt && python setup.py build && cd -
30+ - run : git clone https://github.com/python-semver/python-semver ../semver
31+ - run : cd ../semver && python setup.py build && cd -
32+ - run : python -m coverage run --branch --source . -m unittest -v
33+ # - run: LOGGING_LEVEL=critical python -m coverage run --append --branch --source . -m unittest -v test.test_version
34+ - run : python -m coverage report --show-missing
35+ - run : codecov
You can’t perform that action at this time.
0 commit comments