-
Notifications
You must be signed in to change notification settings - Fork 13
executable file
·45 lines (39 loc) · 1.01 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
name: test
on:
pull_request:
branches:
- main
- develop
push:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache m2 folder
uses: actions/cache@v2
env:
cache-name: cache-m2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-build-${{ env.cache-name }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'zulu'
- name: Set up CI environment
run: .github/setup.sh
- name: Install blosc
run: sudo apt install libblosc-dev
- name: Install xvfb
run: sudo apt-get install xvfb
- name: Run mvn test
run: mvn test # for testing with graphics prepend: xvfb-run --auto-servernum