Skip to content

CI

CI #1

Workflow file for this run

name: 'CI'
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/ci.yml'
jobs:
test:
name: 'Continuous Integration'
runs-on: ubuntu-latest
env:
CI_COMMIT_MESSAGE: Update coverage
CI_COMMIT_AUTHOR: github-actions[bot]
CI_COMMIT_EMAIL: github-actions[bot]@users.noreply.github.com
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Tox
run: pip install tox
- name: Lint with Ruff
run: tox -e lint
- name: Unit Testing
id: tox
run: tox
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}