Skip to content

feat(lookup_table): polarify #79

feat(lookup_table): polarify

feat(lookup_table): polarify #79

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pytest:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Setup python and uv
uses: deargen/workflows/actions/setup-python-and-uv@master
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: ripgrep
version: 1.0
- name: Install dependencies
run: |
uv venv
source .venv/bin/activate
uv pip install -r deps/lock/x86_64-manylinux_2_28/requirements_dev.txt
uv pip install -e .
- name: Run pytest
uses: deargen/workflows/actions/run-pytest@master
with:
additional-args: --cov-report=xml --cov-report=term
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
doctest:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Setup python and uv
uses: deargen/workflows/actions/setup-python-and-uv@master
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: ripgrep
version: 1.0
- name: Install dependencies
run: |
uv venv
source .venv/bin/activate
uv pip install -r deps/lock/x86_64-manylinux_2_28/requirements_dev.txt
uv pip install -e .
- name: Run doctest
uses: deargen/workflows/actions/run-doctest@master