Skip to content

Fixes

Fixes #3454

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test
on: [push]
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Setup submodule
run: git submodule update --init --recursive
- name: Install dependencies
run: poetry install
- name: Test with pytest
run: poetry run pytest --cov=lineage --cov-report=xml --cov-config=.github/workflows/coveragerc
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true