mvesuvio nightly build #9
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: mvesuvio nightly build | |
on: | |
schedule: | |
- cron: '0 2 * * *' | |
jobs: | |
test: | |
runs-on: self-hosted | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout mvesuvio | |
uses: actions/checkout@v3 | |
- name: Setup Miniconda | |
uses: conda-incubator/[email protected] | |
with: | |
miniforge-version: latest | |
miniforge-variant: Mambaforge | |
activate-environment: mvesuvio-env | |
environment-file: environment.yml | |
auto-activate-base: false | |
# Runs Unit tests | |
- name: Run mvesuvio analysis unit tests | |
run: | | |
export MANTIDPROPERTIES=$(pwd)/Mantid.user.properties | |
python -m unittest discover -s ./mvesuvio/vesuvio_analysis/tests | |
# Runs System tests | |
- name: Run mvesuvio analysis system tests | |
run: | | |
export VESUVIOPROPERTIES=$(pwd)/mvesuvio/system_tests/test_config/vesuvio.user.properties | |
python -m unittest discover -s ./mvesuvio/system_tests |