Skip to content

Merge pull request #216 from AI-SDC/pre-commit-ci-update-config #898

Merge pull request #216 from AI-SDC/pre-commit-ci-update-config

Merge pull request #216 from AI-SDC/pre-commit-ci-update-config #898

Workflow file for this run

---
name: test
on:
push:
paths-ignore:
- '**.md'
- '**.cff'
- 'setup.py'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint pytest pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: pytest and report coverage
run: |
pytest --cov=./ --cov-report=xml
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov
...