Skip to content

Commit a5fbaf6

Browse files
richarda23otter606
andauthored
Gha build test (#17)
* gha to run tests * set runs-on * run on master push as well Co-authored-by: richard <ra22597@gmail.com>
1 parent e2dc343 commit a5fbaf6

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/prs.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: test Dataverse build
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-java@v3
13+
with:
14+
distribution: 'corretto'
15+
java-version: '8'
16+
cache: 'gradle'
17+
- run: ./gradlew test --no-daemon

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
.project
77
.settings/
88
.gradle/
9+
.idea/

0 commit comments

Comments
 (0)