Skip to content

Ensemble source detection #7

Ensemble source detection

Ensemble source detection #7

Workflow file for this run

name: Python CI
on: [pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Cache pre-commit hooks
uses: actions/cache@v2
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files
- name: Run pytest with coverage
run: |
pip install -r requirements.txt
pip install -r requirements.dev.txt
pytest --cov=./ --cov-report=term --cov-fail-under=80