chore(main): release 7.1.2 #263
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: tests | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
branches: [ main ] | |
types: [opened, synchronize, reopened, ready_for_review] | |
jobs: | |
docs: | |
if: | | |
github.event.pull_request.draft == false && contains(github.event.pull_request.title, 'chore(main): release') | |
uses: ./.github/workflows/build-docs.yml | |
test: | |
# together this means the test are run after the docs (which create a new commit) | |
# but don't require the docs to have run, so it also runs on non-release PRs | |
if: ${{ github.event.pull_request.draft == false && always() }} | |
needs: | |
- docs | |
runs-on: ubuntu-latest | |
container: riedmiki/gromacs-plumed-python:2023.5-plumed | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: psf/black@stable | |
- name: run tox | |
run: tox | |
- name: zip coverage report | |
if: ${{ !cancelled() }} | |
run: zip -r htmlcov.zip htmlcov || true | |
- uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: coverage artifact | |
path: htmlcov.zip |