Skip to content

Merge branch 'main' of https://github.com/BAMresearch/McSAS3 #39

Merge branch 'main' of https://github.com/BAMresearch/McSAS3

Merge branch 'main' of https://github.com/BAMresearch/McSAS3 #39

Workflow file for this run

name: CI-CD
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# check if everything works first
tests:
uses: ./.github/workflows/tests.yml
# make a new version next, release or prerelease
release:
needs: [tests]
uses: ./.github/workflows/release.yml
build:
needs: [release, tests] # build only if all tests are successful
uses: ./.github/workflows/build.yml
secrets: inherit
docs:
needs: [release] # get (release) version number first
uses: ./.github/workflows/docs.yml
coverage:
needs: [tests, docs] # coverage report is added to the docs webpage
uses: ./.github/workflows/coverage.yml