Skip to content

Initial quantity distribution endpoint #1222

Initial quantity distribution endpoint

Initial quantity distribution endpoint #1222

Workflow file for this run

name: Java CI with Maven
on: [push, pull_request, workflow_dispatch]
jobs:
build:
strategy:
matrix:
runs-on: [windows-latest, macos-latest, ubuntu-latest]
java-version: [11, 17]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
architecture: x64
cache: 'maven'
- name: Tests with Coveralls coverage report
run: mvn clean test jacoco:report coveralls:report -DdryRun=true
- name: Coveralls coverage report
uses: MikeEdgar/github-action@raw_coverage_file
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-file: ./target/coveralls.json
coverage-format: raw
- name: Deploy to GitHub pages
if: ${{ github.ref == 'refs/heads/tamu-main' && matrix.runs-on == 'ubuntu-latest' && matrix.java-version == '17' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: target/generated-docs
branch: gh-pages
clean: true
single-commit: true