[WIP] Another batch of java encoder fixes #65
Workflow file for this run
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: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test-js-fsst: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: 'encodings/fsst/js' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/Iron' | |
cache: 'npm' | |
cache-dependency-path: '**/**/**/package-lock.json' | |
- run: npm ci | |
- run: npm run test | |
test-js-fastpfor: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: 'encodings/fastpfor/js' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/Iron' | |
cache: 'npm' | |
cache-dependency-path: '**/**/**/package-lock.json' | |
- run: npm ci | |
- run: npm run build | |
- run: npm run test:unit | |
test-java-converter: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
defaults: | |
run: | |
working-directory: 'converter/java' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- uses: gradle/actions/setup-gradle@v3 | |
- if: runner.os == 'Windows' | |
uses: e-t-l/setup-mingw@patch-1 | |
- if: runner.os == 'Windows' | |
shell: bash | |
run: bash ./resources/compile | |
- if: runner.os == 'macOS' | |
run: brew install microsoft-openjdk@17 | |
- if: runner.os == 'Linux' | |
run: sudo apt-get install openjdk-17-jdk | |
- name: Java encoding tests | |
run: ./gradlew test --tests "com.mlt.converter.encodings.*" | |
- name: Vector tests | |
run: ./gradlew test --tests "com.mlt.vector.*" | |
- name: Decoding tests | |
run: ./gradlew test --tests "com.mlt.decoder.MltDecoderTest" |