Skip to content

ci: fossa workflow #230

ci: fossa workflow

ci: fossa workflow #230

Workflow file for this run

name: Tests
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
TEST: 1
EXTRA_COMPOSE_TEST_OPTIONS: "-e NO_REAL_MODELS=1 -e NO_SENTRY_INTEGRATION=1"
steps:
- uses: actions/checkout@v3
- name: Prepare docker compose environment
run: |
make update
- name: Typecheck with mypy
run: |
make mypy
- name: Test with pytest
run: |
make test
- name: Upload to codecov
if: ${{ always() }}
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: '.artifacts/coverage.xml'
override_commit: ${{ github.event.pull_request.head.sha }}
plugin: noop
verbose: true