File: ci.yml

package info (click to toggle)
mpi4py 4.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 4,560 kB
  • sloc: python: 35,306; ansic: 16,482; sh: 837; makefile: 618; cpp: 193; f90: 178
file content (51 lines) | stat: -rw-r--r-- 910 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: ci

on:  # yamllint disable-line rule:truthy
  push:
    branches:
      - master
      - maint
      - ci/all
      - ci/github
  pull_request:
    branches:
      - master
      - maint
  workflow_dispatch:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

permissions:
  contents: read

jobs:

  test:
    uses: ./.github/workflows/ci-test.yml

  abi:
    uses: ./.github/workflows/ci-abi.yml

  build:
    uses: ./.github/workflows/ci-build.yml

  check:
    uses: ./.github/workflows/ci-check.yml

  cover:
    uses: ./.github/workflows/ci-cover.yml

  ci-status:
    runs-on: ubuntu-latest
    if: ${{ success() || failure() }}
    needs:
      - test
      - abi
      - build
      - check
      - cover
    steps:
    - uses: step-security/harden-runner@v2
    - run: ${{ !(contains(needs.*.result, 'failure')) }}