Bump to next development cycle #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |