feat(): add peak week line in the dashboard #156
Workflow file for this run
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: EpiScanner Build | |
on: [pull_request] | |
env: | |
HOST_GID: 1000 | |
HOST_UID: 1000 | |
ENV: dev | |
PROJECT_ROOT: /opt/services/epi_scanner | |
CTNR_EPISCANNER_DATA_DIR: /opt/services/epi_scanner/data | |
HOST_EPISCANNER_DATA_DIR: /home/runner/work/epi-scanner/epi-scanner/data | |
HOST_EPISCANNER_DUCKDB_DIR: /home/runner | |
CTNR_EPISCANNER_DUCKDB_DIR: /opt/services/duckdb | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniconda-version: "latest" | |
mamba-version: "*" | |
environment-file: conda/env-base.yaml | |
channels: conda-forge,nodefaults | |
activate-environment: episcanner | |
use-mamba: true | |
miniforge-variant: Mambaforge | |
- name: Create env file | |
run: envsubst < env.tpl > .env | |
- name: Prepare volume for episcanner data | |
run: | | |
mkdir -p /home/runner/work/epi-scanner/epi-scanner/data | |
chmod 777 -R /home/runner/work/epi-scanner/epi-scanner/data | |
- name: Install dependencies | |
run: | | |
poetry install | |
# - name: Linting | |
# run: | | |
# pre-commit install | |
# pre-commit run --all-files | |
- name: Docker start web | |
run: | | |
makim episcanner.deploy --group ci --service wave | |
- name: Docker waiting services | |
run: | | |
makim episcanner.container-wait --group ci --service wave |