Skip to content

Merge pull request #13 from mantidproject/readme_debugging #46

Merge pull request #13 from mantidproject/readme_debugging

Merge pull request #13 from mantidproject/readme_debugging #46

Workflow file for this run

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