Skip to content

docs: add trackgit token to README.rst #54

docs: add trackgit token to README.rst

docs: add trackgit token to README.rst #54

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- 'pypy-3.6'
- 'pypy-3.7'
# XXX: Currently (2021-12-04) fails
#- 'pypy-3.8'
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
- uses: actions/upload-artifact@v2
with:
name: coverage-data
path: .coverage.*
coverage:
needs: tests
if: always()
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- uses: actions/download-artifact@v2
with:
name: coverage-data
- name: Test coverage
run: tox -e cover
- uses: actions/upload-artifact@v2
with:
name: htmlcov
path: htmlcov
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test with tox
run: tox -e lint