-
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.
Merge branch 'main' into add_ena_slack_notifications
- Loading branch information
Showing
52 changed files
with
14,098 additions
and
13,118 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"printWidth": 120, | ||
"tabWidth": 4, | ||
"trailingComma": "all", | ||
"semi": true, | ||
"jsxSingleQuote": true, | ||
"singleQuote": true, | ||
"quoteProps": "consistent", | ||
"plugins": ["prettier-plugin-astro", "prettier-plugin-tailwindcss"], | ||
"overrides": [ | ||
{ | ||
"files": "*.astro", | ||
"options": { | ||
"parser": "astro" | ||
} | ||
} | ||
] | ||
} |
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,8 +1,8 @@ | ||
{ | ||
"hash": "c1e8de51", | ||
"configHash": "0c82321a", | ||
"lockfileHash": "25f1fc72", | ||
"browserHash": "cf2b5ff5", | ||
"optimized": {}, | ||
"chunks": {} | ||
"hash": "c1e8de51", | ||
"configHash": "0c82321a", | ||
"lockfileHash": "25f1fc72", | ||
"browserHash": "cf2b5ff5", | ||
"optimized": {}, | ||
"chunks": {} | ||
} |
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,3 +1,3 @@ | ||
{ | ||
"type": "module" | ||
"type": "module" | ||
} |
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,4 @@ | ||
{ | ||
"recommendations": ["astro-build.astro-vscode"], | ||
"unwantedRecommendations": [] | ||
"recommendations": ["astro-build.astro-vscode"], | ||
"unwantedRecommendations": [] | ||
} |
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,11 +1,11 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
} |
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,33 +1,44 @@ | ||
import { defineConfig } from "astro/config"; | ||
import starlight from "@astrojs/starlight"; | ||
import { defineConfig } from 'astro/config'; | ||
import starlight from '@astrojs/starlight'; | ||
import tailwind from '@astrojs/tailwind'; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
base: "/loculus/", | ||
integrations: [ | ||
starlight({ | ||
title: "Loculus", | ||
editLink: { | ||
baseUrl: "https://github.com/loculus-project/loculus/edit/main/docs/", | ||
}, | ||
|
||
social: { | ||
github: "https://github.com/loculus-project/loculus", | ||
}, | ||
sidebar: [ | ||
{ | ||
label: "Guides", | ||
items: [ | ||
// Each item here is one entry in the navigation menu. | ||
{ label: "Getting started", link: "/guides/getting-started/" }, | ||
{ label: "User administration", link: "/guides/user-administration/" }, | ||
], | ||
}, | ||
{ | ||
label: "Reference", | ||
autogenerate: { directory: "reference" }, | ||
}, | ||
], | ||
}), | ||
], | ||
base: '/loculus/', | ||
integrations: [ | ||
starlight({ | ||
title: 'Loculus', | ||
editLink: { | ||
baseUrl: 'https://github.com/loculus-project/loculus/edit/main/docs/', | ||
}, | ||
customCss: ['./src/styles/custom.css'], | ||
social: { | ||
github: 'https://github.com/loculus-project/loculus', | ||
}, | ||
sidebar: [ | ||
{ | ||
label: 'Introduction', | ||
items: [ | ||
{ label: 'What is Loculus?', link: '/introduction/what-is-loculus/' }, | ||
{ label: 'Current state and roadmap', link: '/introduction/current-state-and-roadmap/' }, | ||
{ label: 'Glossary', link: '/introduction/glossary/' }, | ||
{ label: 'System overview', link: '/introduction/system-overview/' }, | ||
], | ||
}, | ||
{ | ||
label: 'For administrators', | ||
items: [ | ||
{ label: 'Getting started', link: '/for-administrators/getting-started/' }, | ||
{ label: 'Setup with Kubernetes', link: '/for-administrators/setup-with-kubernetes/' }, | ||
{ label: 'User administration', link: '/for-administrators/user-administration/' }, | ||
], | ||
}, | ||
{ | ||
label: 'Reference', | ||
autogenerate: { directory: 'reference' }, | ||
}, | ||
], | ||
}), | ||
tailwind(), | ||
], | ||
}); |
Oops, something went wrong.