upload the visualization code and related files #454
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |