Skip to content

Commit

Permalink
ci: set up dependencies in the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsey committed Jan 15, 2022
1 parent 74bd731 commit 1a6f235
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@

name: "build"

on: ["pull_request", "push"]
on:
push:
branches:
- "main"
tags:
- "*"
pull_request:
branches:
- "main"

# 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"
Expand Down Expand Up @@ -59,6 +73,7 @@ jobs:

unit-tests:
name: "Unit Tests"
needs: ["coding-standards", "code-coverage"]
runs-on: "ubuntu-latest"

strategy:
Expand Down

0 comments on commit 1a6f235

Please sign in to comment.