feat(ena-submission): Create ena projects #14
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: 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 |