diff options
author | Aarni Koskela <akx@iki.fi> | 2020-11-10 16:19:04 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2020-11-12 11:42:54 +0200 |
commit | 58de8342f865df88697a4a166191e880e3c84d82 (patch) | |
tree | 58d7ebfbd285afa342a2dde114e538c933779732 /.github | |
parent | d1bbc08e845d03d8e1f0dfa0e04983d755f39cb5 (diff) | |
download | babel-58de8342f865df88697a4a166191e880e3c84d82.tar.gz |
Replace Travis + Appveyor with GitHub Actions (WIP)github-ci
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..e9c4118 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,38 @@ +name: Test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-18.04, windows-2019, macos-10.15] + python-version: [3.6, 3.7, 3.8, 3.9, pypy3] + exclude: + - os: windows-2019 + python-version: pypy3 + # TODO: Remove this; see: + # https://github.com/actions/setup-python/issues/151 + # https://github.com/tox-dev/tox/issues/1704 + # https://foss.heptapod.net/pypy/pypy/-/issues/3331 + env: + BABEL_CLDR_NO_DOWNLOAD_PROGRESS: "1" + BABEL_CLDR_QUIET: "1" + 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 setuptools wheel + python -m pip install tox tox-gh-actions==2.1.0 + - name: Run test via Tox + run: tox --skip-missing-interpreters + - uses: codecov/codecov-action@v1 |