mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
28 lines
706 B
YAML
28 lines
706 B
YAML
name: check
|
|
on:
|
|
pull_request:
|
|
push:
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: [3.5, 3.6, 3.7, 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 tox
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install tox tox-gh-actions
|
|
- name: Test with tox
|
|
run: tox
|
|
- name: Upload coverage to Codecov
|
|
if: matrix.python-version == 3.6
|
|
uses: codecov/codecov-action@v1
|
|
with:
|
|
file: ./coverage.xml
|