12345678910111213141516171819202122232425262728293031323334 |
- name: Run tests
- on:
- push:
- pull_request:
- branches-ignore: [ master ]
- jobs:
- build:
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
- 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: |
- pip install codecov
- python scripts/ci/install
- - name: Run tests
- run: |
- python scripts/ci/run-tests --with-cov
- - name: codecov
- run: |
- rm tests/coverage.xml
- mv tests/.coverage ./
- codecov
|