Skip to content

Improve logging

Improve logging #38

Workflow file for this run

name: test
on:
pull_request:
branches:
- master
- dev
# Only run if src, pom or github actions files change
# Other changes like docs / readme / license don't require tests to be re-run
paths:
- 'src/**'
- 'pom.xml'
- '.github/**'
push:
branches:
- master
paths:
- 'src/**'
- 'pom.xml'
- '.github/**'
# Prevent multiple runs of the same workflow on the same branch at the same time
# e.g. if new commits pushed to a PR, will cancel any current runs before starting
# a new one
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
# Cancel jobs after 30 minutes
timeout-minutes: 30
strategy:
matrix:
# Run tests on ubuntu, mac (intel + M1) and windows
os: [
ubuntu-latest,
windows-latest,
macos-latest,
macos-13
]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'zulu'
cache: maven
# - name: Install blosc
# run: sudo apt install libblosc-dev
- name: Install xvfb
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install xvfb
- name: Build with maven and xvfb
if: matrix.os == 'ubuntu-latest'
run: xvfb-run --auto-servernum mvn -B package --file pom.xml
- name: Build with maven
if: matrix.os != 'ubuntu-latest'
run: mvn -B package --file pom.xml