Skip to content

Added no_data snapshot.mode #99

Added no_data snapshot.mode

Added no_data snapshot.mode #99

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Test
on:
push:
branches: [ "main", "resumeSnapshot" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
checks: write
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Import GPG key
run: |
openssl enc -d -aes-256-cbc -K ${{ secrets.ENCRYPTION_KEY }} -iv ${{ secrets.ENCRYPTION_IV }} -in .github/workflows/secring.asc.enc -out .github/workflows/secring.asc
gpg --import .github/workflows/secring.asc
- name: Build with Maven
run: mvn -B package -DskipTests --file pom.xml -P assembly
- name: Run tests with Maven
run: mvn -B verify --file pom.xml --fail-at-end
env:
SINGLESTORE_LICENSE: ${{ secrets.SINGLESTORE_LICENSE }}
- name: Publish Test Report
if: success() || failure()
uses: scacap/[email protected]
with:
report_paths: '**/**-reports/TEST-*.xml'
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/[email protected]