Skip to content

Commit

Permalink
Try parallelize CI steps
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquerodbe committed Sep 2, 2024
1 parent da5dadf commit 8834fa7
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: CI

on:
pull_request:
branches: [main]
branches: [ main ]
push:
branches: [main]
branches: [ main ]

jobs:
test:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch
Expand All @@ -19,8 +19,26 @@ jobs:
- name: Lint
run: sbt scalafmtSbtCheck scalafmtCheckAll borsh4sJVM/compile

test:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch
uses: actions/checkout@v4

- name: Set up the environment
uses: ./.github/actions/setup-env

- name: Test
run: sbt borsh4sJS/test

coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch
uses: actions/checkout@v4

- name: Set up the environment
uses: ./.github/actions/setup-env

- name: Coverage report
run: sbt coverage borsh4sJVM/test borsh4sJVM/coverageReport

0 comments on commit 8834fa7

Please sign in to comment.