Configure the pyMBE virtual environment #26
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: run tests | |
on: | |
push: | |
pull_request: | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup EESSI | |
uses: eessi/github-action-eessi@v3 | |
with: | |
eessi_stack_version: "2023.06" | |
- name: Checkout repository | |
uses: actions/checkout@main | |
- name: Install dependencies | |
run: | | |
module load ESPResSo/4.2.1-foss-2023a | |
python3 -m venv --system-site-packages pymbe | |
source pymbe/bin/activate | |
python3 maintainer/configure_venv.py | |
python3 -m pip install -r requirements.txt | |
deactivate | |
- name: Run testsuite | |
run: | | |
module load ESPResSo/4.2.1-foss-2023a | |
source pymbe/bin/activate | |
make testsuite | |
deactivate | |
shell: bash |