Update CI pipeline

This commit is contained in:
Ben Ramsey
2022-08-05 12:21:22 -05:00
parent c4b834301d
commit 1b4972142b
+18 -1
View File
@@ -2,7 +2,21 @@
name: "build"
on: ["pull_request", "push"]
on:
push:
branches:
- "*.x"
tags:
- "*"
pull_request:
branches:
- "*.x"
# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
# The concurrency group contains the workflow name and the branch name.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
COMPOSER_ROOT_VERSION: "1.99.99"
@@ -54,6 +68,7 @@ jobs:
benchmark:
name: "Benchmark"
needs: ["coding-standards", "static-analysis"]
runs-on: "ubuntu-latest"
strategy:
@@ -88,6 +103,7 @@ jobs:
code-coverage:
name: "Code coverage"
needs: ["coding-standards", "static-analysis"]
runs-on: "ubuntu-latest"
steps:
- name: "Checkout repository"
@@ -119,6 +135,7 @@ jobs:
unit-tests:
name: "Unit Tests"
needs: ["code-coverage"]
runs-on: ${{ matrix.operating-system }}
strategy: