N5 4.0.0 support and Retain License at a single file at the root of the project #156
This file contains hidden or 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: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - "*-[0-9]+.*" | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Start MinIO Server | |
| if: matrix.os == 'ubuntu-latest' | |
| uses: comfuture/minio-action@v1 | |
| with: | |
| access_key: minioadmin | |
| secret_key: minioadmin | |
| - name: Install blosc (Windows) | |
| if: matrix.os == 'windows-latest' | |
| run: | | |
| pip install blosc --no-input --target src/test/resources | |
| mv src/test/resources/bin/* src/test/resources | |
| - name: Install blosc (Ubuntu) | |
| if: matrix.os == 'ubuntu-latest' | |
| run: | | |
| pip install blosc --no-input --target src/test/resources | |
| mv src/test/resources/lib64/* src/test/resources | |
| - name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '8' | |
| distribution: 'zulu' | |
| cache: 'maven' | |
| - name: Maven Test | |
| if: matrix.os == 'ubuntu-latest' | |
| run: mvn -B clean test --file pom.xml | |
| env: | |
| AWS_REGION: us-east-1 | |
| - name: Maven Test (Windows) | |
| if: matrix.os == 'windows-latest' | |
| shell: bash | |
| run: mvn -B clean test --file pom.xml -DexcludedGroups=org.janelia.saalfeldlab.n5.universe.storage.AmazonTest | |
| env: | |
| AWS_REGION: us-east-1 |