Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): run testing jobs in parallel #1029

Merged
merged 1 commit into from
May 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]
tthvo marked this conversation as resolved.
Show resolved Hide resolved

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:
tthvo marked this conversation as resolved.
Show resolved Hide resolved
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