Skip to content

remove aggregator [skip linting] #249

remove aggregator [skip linting]

remove aggregator [skip linting] #249

Workflow file for this run

name: Tests
on: [push, pull_request] # skip workflow with [skip ci]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Test with pytest
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }}
run: |
pytest --cov=./ --cov-report=xml
- name: Upload coverage report to codecov
if: ${{ !contains(github.event.head_commit.message, '[skip coverage report]') }}
uses: codecov/codecov-action@v3
- name: Lint with flake8
if: ${{ !contains(github.event.head_commit.message, '[skip linting]') }}
run: |
flake8 src