Skip to content

Commit

Permalink
CI: Break unit and instrumentation tests into separate workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Oct 10, 2023
1 parent 38405a0 commit 2c1101f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
name: Run Unit and Instrumentation Tests
name: Run Instrumentation Tests

on: [pull_request, workflow_dispatch]

jobs:
unit_tests:
name: "Run unit tests"
runs-on: ubuntu-22.04
steps:
- name: "Check out PR branch"
uses: actions/checkout@v2

- name: "Set up JDK"
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17

- name: "Run unit tests"
run: ./gradlew test

jobs:
instrumentation_tests:
name: "Run instrumentation tests"
runs-on: macOS-13
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run Unit Tests

on: [pull_request, workflow_dispatch]

jobs:
unit_tests:
name: "Run unit tests"
runs-on: ubuntu-22.04
steps:
- name: "Check out PR branch"
uses: actions/checkout@v2

- name: "Set up JDK"
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17

- name: "Run unit tests"
run: ./gradlew test

0 comments on commit 2c1101f

Please sign in to comment.