Skip to content

Preload IT/DE models. #18

Preload IT/DE models.

Preload IT/DE models. #18

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Build, Test & Publush
# Controls when the action will run.
on:
# Triggers the workflow on all push or pull request events
push:
pull_request:
release:
types: [created]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
# added using https://github.com/step-security/secure-repo
permissions:
contents: read
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build_and_test_python:
strategy:
matrix:
python-version: ['3.11', '3.12']
os: ['24.10']
runs-on: ubuntu-latest
container:
image: ubuntu:${{ matrix.os }}
env:
PYTHON_CMD: "python${{ matrix.python-version }}"
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install git
run: |
apt-get update
apt-get install --no-install-recommends -y git lsb-release ca-certificates
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
activate-environment: Infernos
- name: Conda init
run: conda init
- name: Conda list
run: |
. ~/miniconda3/etc/profile.d/conda.sh
conda activate Infernos
conda list
- name: Install dependencies
run: |
apt-get install --no-install-recommends -y gcc g++ libc6-dev cmake pkg-config
. ~/miniconda3/etc/profile.d/conda.sh
conda activate Infernos
conda install -y pip
${PYTHON_CMD} -m pip install -U -r requirements.txt
- name: Preload models
run: |
. ~/miniconda3/etc/profile.d/conda.sh
conda activate Infernos
python Infernos.py -f docker/preload_it_de.yaml