Bump gdown from 4.7.1 to 4.7.3 #131
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.6, 3.7, 3.8, 3.9] | |
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 | |
pip install poetry | |
make init | |
- name: Lint with flake8 | |
run: | | |
make lint | |
- name: Lint with isort | |
run: | | |
make isort | |
- name: Run tests without slow test functions | |
if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master' || matrix.python-version != '3.9' }} | |
run: | | |
make test | |
- name: Run all tests | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.python-version == '3.9' }} | |
run: | | |
make testall | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.python-version == '3.9' }} | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true |