Add memory monitoring to livereduce #67
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [main, qa, next] | |
tags: ['v*'] | |
jobs: | |
python-build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up MicroMamaba | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: environment.yml | |
condarc: | | |
channels: | |
- conda-forge | |
- mantid | |
- default | |
cache-environment-key: ${{ runner.os }}-env-${{ hashFiles('**/environment.yml') }} | |
cache-downloads-key: ${{ runner.os }}-downloads-${{ hashFiles('**/environment.yml') }} | |
- name: Build source distribution | |
shell: bash -l {0} | |
run: | # this is used as part of making the rpm | |
python -m build --sdist --no-isolation | |
# the wheel isn't build because this is a unusual package |