Skip to content

feat: v3 alignments #33

feat: v3 alignments

feat: v3 alignments #33

Workflow file for this run

name: Checks
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency:
group: checks-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
java:
name: Java ${{ matrix.java }}
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
include:
- java: "11"
goal: "-Dmaven.test.skip=true clean package"
- java: "25"
goal: "clean verify"
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Java
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java }}
distribution: temurin
cache: maven
- name: Build and test Maven reactor
run: mvn --batch-mode ${{ matrix.goal }}
- name: Verify published artifact boundaries
run: bash scripts/verify-artifacts.sh
example:
name: Featurevisor example-1
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Java
uses: actions/setup-java@v5
with:
java-version: "25"
distribution: temurin
cache: maven
- name: Build SDK
run: mvn --batch-mode clean install
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version-file: .nvmrc
- name: Set up Featurevisor example-1 project
run: |
mkdir example-1
cd example-1
npx --yes @featurevisor/cli@3 init --example=1
npm install
npx featurevisor build
npx featurevisor test --onlyFailures
- name: Run Featurevisor project tests against Java SDK
run: >-
mvn --batch-mode -pl featurevisor-sdk exec:java
-Dexec.mainClass=com.featurevisor.cli.CLI
-Dexec.args="test --projectDirectoryPath=example-1 --onlyFailures"