diff options
author | Thomas Kemmer <tkemmer@computer.org> | 2021-08-09 21:57:40 +0200 |
---|---|---|
committer | Thomas Kemmer <tkemmer@computer.org> | 2021-08-09 21:57:40 +0200 |
commit | fc477611191dcd85a277244cef7c17f909d3dd15 (patch) | |
tree | 9ca2066f52086ca6b63b9eb5fe582bae962f1b2d /.github/workflows/ci.yml | |
parent | e919f2fbfca1c404a9d9e313ddc0a1f4fe119f76 (diff) | |
download | cachetools-fc477611191dcd85a277244cef7c17f909d3dd15.tar.gz |
Move CI to GitHub Actions, coverage to Codecov.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b0a9160 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: [push, pull_request, workflow_dispatch] + +jobs: + main: + name: Python ${{ matrix.python }} + runs-on: ubuntu-20.04 + strategy: + fail-fast: false + matrix: + python: ["3.6", "3.7", "3.8", "3.9", "pypy-3.6", "pypy-3.7"] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - run: python -m pip install coverage tox + - run: python -m tox + - uses: codecov/codecov-action@v1 + with: + name: ${{ matrix.python }} |