Skip to content

Get latest tutorial tools #176

Get latest tutorial tools

Get latest tutorial tools #176

Workflow file for this run

name: build
on:
push:
pull_request:
schedule:
- cron: "47 22 * * 0" # Run at a random time weekly
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
imp-branch: [main, develop]
include:
- os: [ubuntu-latest]
python-version: "2.7"
imp-branch: main
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
run: |
sudo apt-get update -qq && sudo apt-get install -qq gnuplot
- name: Setup conda
env:
KEY_MODELLER: ${{ secrets.KEY_MODELLER }}
run: |
support/setup_ci.sh ${{ matrix.imp-branch }} ${{ matrix.python-version }}
- name: Test
run: |
eval "$(conda shell.bash hook)"
conda activate python${{ matrix.python-version }}
pytest support/test/*.py -v