-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ingest, multisegmented): Handle segment grouping changes during r…
…eingest by also allowing revocation (#2372) * Add revocation option if grouping changes, this will not be used yet and we will not modify sequences where the grouping has changed yet. * Add some basic tests for revise, submit and unchanged * Add tests as part of github workflow
- Loading branch information
1 parent
1f7aaf2
commit 699880e
Showing
15 changed files
with
415 additions
and
38 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: ingest-tests | ||
on: | ||
# test | ||
pull_request: | ||
paths: | ||
- "ingest/**" | ||
- ".github/workflows/ingest-tests.yml" | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
concurrency: | ||
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-ingest-tests | ||
cancel-in-progress: true | ||
jobs: | ||
unitTests: | ||
name: Unit Tests | ||
runs-on: codebuild-loculus-ci-${{ github.run_id }}-${{ github.run_attempt }} | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up micromamba | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-file: ingest/environment.yml | ||
micromamba-version: 'latest' | ||
init-shell: >- | ||
bash powershell | ||
cache-environment: true | ||
post-cleanup: 'all' | ||
- name: Run tests | ||
run: | | ||
micromamba activate loculus-ingest | ||
pytest tests/ | ||
shell: micromamba-shell {0} | ||
working-directory: ingest |
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
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
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
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
Oops, something went wrong.