Skip to content

Enable test running on CI for fsst and fastpfor encodings (#39) #22

Enable test running on CI for fsst and fastpfor encodings (#39)

Enable test running on CI for fsst and fastpfor encodings (#39) #22

Workflow file for this run

name: test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
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-fsst:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'encodings/fsst/java/fsst-wrapper'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- uses: gradle/actions/setup-gradle@v3
- run: ./gradlew test
test-java-converter-ubuntu:
runs-on: ubuntu-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
- run: ./gradlew test
test-java-converter-windows:
runs-on: windows-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
- run: .\gradlew.bat test