Skip to content

chore(deps): update dependency mypy to v1.13.0 (#1136) #791

chore(deps): update dependency mypy to v1.13.0 (#1136)

chore(deps): update dependency mypy to v1.13.0 (#1136) #791

Workflow file for this run

name: Deploy modules to demo project
on:
push:
branches:
- main
env:
PYTHON_VERSION: '3.10'
jobs:
build-modules:
runs-on: ubuntu-latest
environment: dev
env:
CDF_CLUSTER: ${{ secrets.CDF_CLUSTER }}
CDF_PROJECT: ${{ secrets.CDF_PROJECT }}
IDP_CLIENT_ID: ${{ secrets.IDP_CLIENT_ID }}
IDP_CLIENT_SECRET: ${{ secrets.IDP_CLIENT_SECRET }}
IDP_TOKEN_URL: ${{ secrets.IDP_TOKEN_URL }}
LOGIN_FLOW: client_credentials
name: Loadmaster
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- uses: snok/install-poetry@v1
with:
version: 1.6.1
virtualenvs-create: false
- name: Install dependencies and build the package
run: |
poetry install
poetry build
- name: Install cdf-tk
run: pip install .
- name: Initialize project
run: cdf modules init demo_project --clean --all
- name: "Pre-processing for demo environment"
run: python ./demo/preproc.py
- name: "Not collect metrics"
run: cdf collect opt-out
- name: "Build the templates"
run: cdf build --env demo -o ./demo_project
- name: "Verify and create access rights"
run: cdf auth verify --no-prompt
- name: "Deploy the templates"
run: |
cdf-tk deploy --drop --env=demo ./build
- name: "Run transformations and other post-processing"
run: |
poetry run python ./demo/postproc.py