aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorchojoyce <chojoyce@google.com>2021-12-08 23:54:19 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-12-08 23:54:19 +0000
commit47f9b551e35f3f4709bf0802e20ed5c4cc34296e (patch)
treef684194a77825219fcd99c9542361533c411d631 /.github/workflows/ci.yml
parent0377d4b9d25a15e2cc4284730a551a42b7a10d22 (diff)
parente79c25b3e184ab530cc36bf4288f9115ebb91ee4 (diff)
downloadcachetools-47f9b551e35f3f4709bf0802e20ed5c4cc34296e.tar.gz
Release platform/external/python/cachetools v4.2.4 am: 39c4b449e8 am: e79c25b3e1
Original change: https://android-review.googlesource.com/c/platform/external/python/cachetools/+/1908894 Change-Id: I1921382c371c2b92f8f492ea4b4cea8c989dade3
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml22
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..1139f90
--- /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", "3.10", "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 }}