Skip to content

Drop events with no L1/L2/L3 impacts (or NULL impacts) (#195) #439

Drop events with no L1/L2/L3 impacts (or NULL impacts) (#195)

Drop events with no L1/L2/L3 impacts (or NULL impacts) (#195) #439

Workflow file for this run

name: Run Unit Tests via Pytest
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install --without dev
- name: Pull LFS files for testing
run: git lfs pull --include "Database/data/*.csv"
env:
GIT_TRACE: 1
- name: Run location normalization unit tests
run: poetry run pytest -ra -s tests/test_normalize_locations.py -vv
- name: Run number normalization unit tests
run: poetry run pytest -ra -s tests/test_normalize_numbers.py -vv
- name: Run l2/l3 matcher unit tests
run: poetry run pytest -ra -s tests/test_specific_instance_matcher.py -vv