-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (40 loc) · 975 Bytes
/
prs.yml
File metadata and controls
40 lines (40 loc) · 975 Bytes
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
name: test Dataverse build
on:
pull_request:
push:
branches:
- master
schedule:
- cron: '12 4 13 * *'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '17' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: ${{matrix.java}}
cache: 'gradle'
- run: ./gradlew test --no-daemon
integration-test:
runs-on: ubuntu-latest
needs: test
strategy:
matrix:
java: [ '8', '11', '17' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: ${{matrix.java}}
cache: 'gradle'
- name: Run integration tests
env:
DV_KEY: ${{ secrets.DEMO_DATAVERSE_OTTER606 }}
run: |
./gradlew clean integrationTest -DdataverseApiKey="$DV_KEY"