-
Notifications
You must be signed in to change notification settings - Fork 0
65 lines (65 loc) · 2.13 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Test Suite
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
build:
timeout-minutes: 5
runs-on: ubuntu-latest
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: recursive
# Instantiate JVM v22.
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
java-version: '22'
distribution: 'adopt'
cache: gradle
cache-dependency-path: build.gradle.kts
# Include a Protobuf and gRPC code generator.
- name: Install Protoc
uses: arduino/setup-protoc@v3
# Install Hatch to support the Python runtime.
- name: Setup Hatch
uses: pypa/hatch@install
# Install npm in order to support TypeScript and the Node.js runtime.
- name: Setup NPM
uses: actions/setup-node@v2
with:
node-version: '20'
cache: npm
cache-dependency-path: |
packages/runner-ts/package-lock.json
packages/shacl-validator-ts/package-lock.json
# Run tests for the `rdfc-cli` package.
- name: Run tests `rdfc-cli`
run: gradle test --console=plain --warning-mode all
working-directory: ./rdfc-cli
# Run tests for the `rdfc-core` package.
- name: Run tests `rdfc-core`
run: gradle test --console=plain --warning-mode all
working-directory: ./rdfc-core
# Run tests for the `rdfc-orchestrator` package.
- name: Run tests `rdfc-orchestrator`
run: gradle test --console=plain --warning-mode all
working-directory: ./rdfc-orchestrator
# Run tests for the `rdfc-parser` package.
- name: Run tests `rdfc-parser`
run: gradle test --console=plain --warning-mode all
working-directory: ./rdfc-parser
# Run tests for the `rdfc-processor` package.
- name: Run tests `rdfc-processor`
run: gradle test --console=plain --warning-mode all
working-directory: ./rdfc-processor