Skip to content

Remove diabetes from test case. #85

Remove diabetes from test case.

Remove diabetes from test case. #85

Workflow file for this run

name: Code Quality
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
PY_COLORS: 1
POETRY_HOME: /opt/poetry
jobs:
lint:
name: Lint and format code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
- name: Install Dependencies
run: poetry install
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit
run: poetry run pre-commit run -a --verbose --show-diff-on-failure
test:
name: Test pipelines and independent jobs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
- name: Install Dependencies
run: poetry install
- name: Copy test config
run: cp params.test.yaml params.yaml
- name: Run pipeline without dvc
run: poetry run python scripts/run_pipeline.py
- name: Run pipeline using dvc
run: poetry run dvc exp run