Skip to content

Commit bd9c225

Browse files
committed
Run tests in a dedicated workflow
1 parent c348f17 commit bd9c225

File tree

2 files changed

+31
-4
lines changed

2 files changed

+31
-4
lines changed

.github/workflows/internal-java-code-analysis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ jobs:
5959
- name: Checkout GIT Repository
6060
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
6161

62-
- name: Run script tests
63-
id: script-tests
64-
run: ./scripts/runTests.sh
65-
6662
- name: Set Set output variable 'analysis-name'
6763
id: set-analysis-name
6864
run: echo "analysis-name=${{ env.PROJECT_NAME }}-${{ env.AXON_FRAMEWORK_VERSION }}" >> "$GITHUB_OUTPUT"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
# Only watch changes in scripts, json files containing test data and this workflow for push events
8+
paths:
9+
- '**/*.sh'
10+
- '**/test*.*'
11+
- '.github/workflows/internal-run-tests.yml'
12+
pull_request:
13+
branches:
14+
- main
15+
# Only watch changes in scripts, json files containing test data and this workflow for push events
16+
paths:
17+
- '**/*.sh'
18+
- '**/test*.*'
19+
- '.github/workflows/internal-run-tests.yml'
20+
21+
jobs:
22+
run-tests:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Checkout GIT Repository
27+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
28+
29+
- name: Run script tests
30+
id: script-tests
31+
run: ./scripts/runTests.sh

0 commit comments

Comments
 (0)