Merge pull request #113 from danieletimpano/sas-plugin-mfuel-update #363
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: | |
# allows us to run workflows manually | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- development | |
push: | |
branches: | |
- development | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
container: openmc/openmc:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Apt dependencies | |
shell: bash | |
run: | | |
apt -y update | |
apt install -y python3-venv | |
python -m venv venv | |
source venv/bin/activate | |
- name: Install | |
shell: bash | |
run: | | |
pip install -U pip | |
pushd /root/OpenMC/openmc | |
pip install .[test] | |
popd | |
pip install .[test] | |
- name: Test | |
shell: bash | |
run: pytest -rs tests |