feat(preprocessing): parse dates into date ranges to correctly represent incomplete dates #315
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: preprocessing-tests | |
on: | |
pull_request: | |
paths: | |
- "preprocessing/nextclade/**" | |
- ".github/workflows/preprocessing-tests.yaml" | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-preprocessing-tests | |
cancel-in-progress: true | |
jobs: | |
unitTests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up micromamba | |
uses: mamba-org/setup-micromamba@v2 | |
with: | |
environment-file: preprocessing/nextclade/environment.yml | |
micromamba-version: 'latest' | |
cache-environment: true | |
post-cleanup: 'all' | |
- name: Run tests | |
run: | | |
pip install -e '.[test]' | |
pytest | |
shell: micromamba-shell {0} | |
working-directory: preprocessing/nextclade/ |