Skip to content

Commit

Permalink
chore(ci): run testing jobs in parallel (#1029)
Browse files Browse the repository at this point in the history
Signed-off-by: Thuan Vo <thvo@redhat.com>
  • Loading branch information
Thuan Vo authored May 10, 2023
1 parent abd26e0 commit a114488
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
31 changes: 26 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ on:
- cryostat-v[0-9]+.[0-9]+

jobs:
build:
prettier-check:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -30,6 +28,29 @@ jobs:
node-version: ${{ matrix.node-version }}
- uses: bahmutov/npm-install@v1
- run: yarn format:check
eslint-check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: bahmutov/npm-install@v1
- run: yarn eslint:check
- run: yarn build:notests
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: bahmutov/npm-install@v1
- run: yarn test:ci
1 change: 0 additions & 1 deletion .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
with:
name: cryostat-core
path: /home/runner/.m2/repository/io/cryostat/cryostat-core/

build-image-and-push:
runs-on: ubuntu-latest
needs: [get-pom-properties, build-deps]
Expand Down

0 comments on commit a114488

Please sign in to comment.