-
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.
Reset create_ena_projects branch on main.
- Loading branch information
1 parent
6fd7e65
commit b464762
Showing
20 changed files
with
1,201 additions
and
93 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,37 @@ | ||
name: ena-submission-tests | ||
on: | ||
# test | ||
pull_request: | ||
paths: | ||
- "ena-submission/**" | ||
- ".github/workflows/ena-submission-tests.yml" | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
concurrency: | ||
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-ena-submission-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: ena-submission/environment.yml | ||
micromamba-version: 'latest' | ||
init-shell: >- | ||
bash | ||
powershell | ||
cache-environment: true | ||
post-cleanup: 'all' | ||
- name: Run tests | ||
run: | | ||
micromamba activate loculus-ena-submission | ||
python3 scripts/test_ena_submission.py | ||
shell: micromamba-shell {0} | ||
working-directory: ena-submission |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.snakemake/ | ||
results/ | ||
results/ | ||
__pycache__ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
username: external_metadata_updater | ||
password: external_metadata_updater | ||
keycloak_client_id: backend-client | ||
ingest_pipeline_submitter: insdc_ingest_user | ||
db_name: Loculus | ||
unique_project_suffix: Loculus | ||
ena_submission_username: fake-user | ||
ena_submission_password: fake-password | ||
ena_submission_url: https://wwwdev.ebi.ac.uk/ena/submit/drop-box/submit |
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 |
---|---|---|
|
@@ -14,3 +14,4 @@ dependencies: | |
- snakemake | ||
- unzip | ||
- psycopg2 | ||
- xmltodict |
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
Binary file not shown.
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.