Bump docutils from 0.16 to 0.20 #54
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: regressiontest | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
regression_test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: [3.7, 3.8, 3.9] | |
lmod-version: [7.8, 8.6, 8.7] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run lmodule regresison test for python version - ${{ matrix.python-version }} using Lmod version - ${{ matrix.lmod-version }} | |
run: | | |
sh scripts/install_lmod.sh ${{ matrix.lmod-version }} | |
source /opt/apps/lmod/lmod/init/profile | |
pip install -r docs/requirements.txt | |
module --version | |
module av | |
coverage run -m pytest -vra tests/ | |
coverage report -m | |
coverage xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
verbose: true | |
files: ./coverage.xml |