Skip to content

analysis tests

analysis tests #198

Workflow file for this run

name: testsuite
on:
push:
pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
ubuntu:
runs-on: ubuntu-latest
env:
FI_PROVIDER: "^psm3,psm3;ofi_rxd"
OMPI_MCA_mtl_ofi_provider_exclude: psm3
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
uses: ./.github/actions/dependencies
with:
modules: |-
ESPResSo/4.2.1-foss-2023a
extra-python-packages: |-
pdoc==14.3
pylint==3.0.3
coverage==7.4.4
- name: Run testsuite
run: |
module restore pymbe
source venv/bin/activate
make pylint
make unit_tests COVERAGE=1
make docs
make coverage_xml
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: "./documentation"
name: documentation
retention-days: 2
if-no-files-found: error
- name: Upload coverage to Codecov
if: ${{ github.repository == 'pyMBE-dev/pyMBE' }}
uses: codecov/codecov-action@v4
with:
file: "./coverage.xml"
disable_search: true
env_vars: OS,PYTHON
fail_ci_if_error: false
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true