feat: OpenFeature provider for Java #29
Workflow file for this run
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: Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: checks-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: "24" | |
| distribution: temurin | |
| cache: maven | |
| - name: Build and test Maven reactor | |
| run: mvn --batch-mode clean verify | |
| - name: Verify published artifact boundaries | |
| run: bash scripts/verify-artifacts.sh | |
| - 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" |