Skip to content

Change the MAUD links back to GitHub version specific #38

Change the MAUD links back to GitHub version specific

Change the MAUD links back to GitHub version specific #38

Workflow file for this run

name: Python 3.9
on:
push:
branches: [ main ]
paths-ignore:
- '**/README.md'
- '**/.github/workflows/build_docker_linux.yml'
- '**/.github/workflows/build_MacPy38_310.yml'
- '**/.github/workflows/build_Win39.yml'
- '**/Dockerfile'
pull_request:
branches: [ main ]
paths-ignore:
- '**/README.md'
- '**/.github/workflows/build_docker_linux.yml'
- '**/.github/workflows/build_MacPy38_310.yml'
- '**/.github/workflows/build_Win39.yml'
- '**/Dockerfile'
jobs:
ubuntu-py39:
name: Build MILK on Linux
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: rietveld
environment-file: environments/environment_linux.yml
auto-activate-base: false
miniforge-variant: Mambaforge
miniforge-version: 4.9.2-4
use-mamba: true
- name: download related programs and make tutorials folder for test examples
run: |
wget -O Maud.tar.gz "https://github.com/luttero/maud/releases/download/v2.9992/Maud.tar.gz"
tar -xvf Maud.tar.gz
git clone https://github.com/cinemascience/cinema_debye_scherrer
- name: config milk
run: |
milk-config /home/runner/work/MILK/MILK/Maud -c /home/runner/work/MILK/MILK/cinema_debye_scherrer
conda deactivate
conda activate rietveld
- name: run py tests
run: |
conda activate rietveld
pytest tests/maudbatch_test.py
pytest tests/HIPPO_test.py