aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/scala.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/scala.yml')
-rw-r--r--.github/workflows/scala.yml33
1 files changed, 24 insertions, 9 deletions
diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml
index a2308cb..3b18bf9 100644
--- a/.github/workflows/scala.yml
+++ b/.github/workflows/scala.yml
@@ -2,25 +2,40 @@ name: Scala CI
2 2
3on: 3on:
4 push: 4 push:
5 branches: [ master ] 5 branches: [ master, develop ]
6 pull_request: 6 pull_request:
7 branches: [ master ] 7 branches: [ master, develop ]
8 8
9jobs: 9jobs:
10 build: 10
11 build_and_test:
12 name: "Build and test"
11 13
12 runs-on: ubuntu-latest 14 runs-on: ubuntu-latest
13 15
14 steps: 16 steps:
17
15 - uses: actions/checkout@v2 18 - uses: actions/checkout@v2
16 19
17 - name: Set up JDK 1.8 20 - name: "Set up JDK 1.8"
18 uses: actions/setup-java@v1 21 uses: actions/setup-java@v1
19 with: 22 with:
20 java-version: 1.8 23 java-version: 1.8
21 24
22 - name: Get libs 25 - name: Setup RDFox
23 run: ./getlibs.sh 26 run: ./rdfox_setup.sh
27
28 - name: Setup RDFox server path
29 run: echo "SERVER_DIR=$HOME/.RDFox" >> "$GITHUB_ENV"
30 - name: Setup RDFox license
31 env:
32 LICENSE_CONTENT: ${{ secrets.LICENSE_CONTENT }}
33 run: |
34 mkdir -p "$SERVER_DIR"
35 echo "$LICENSE_CONTENT" > "$SERVER_DIR/RDFox.lic"
36
37 - name: Build RSAComb
38 run: sbt compile
24 39
25 - name: Run tests 40 - name: Run tests
26 run: sbt test 41 run: sbt "testOnly * -- -l org.scalatest.tags.Slow"