fix: disabled codecov integration #87
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: | |
tests: | |
strategy: | |
matrix: | |
python-version: [ | |
'3.8', | |
'3.9', | |
'3.10', | |
'3.11', | |
'3.12', | |
'3.13', | |
'pypy-3.8', | |
'pypy-3.9', | |
'pypy-3.10' | |
] | |
os: [ubuntu] | |
fail-fast: true | |
runs-on: ${{ matrix.os }}-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- uses: actions/cache@v2 | |
with: | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-dev.txt') }} | |
path: ~/.cache/pip | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
with: | |
path: "./requirements-dev.txt" | |
- name: Run lint & tests | |
run: | | |
sudo apt-get install -y tesseract-ocr tesseract-ocr-por | |
make ci SKIP_STYLE=true | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./coverage.xml | |
fail_ci_if_error: true |