Skip to content

remove truncated poisson in favor of generalization #16

remove truncated poisson in favor of generalization

remove truncated poisson in favor of generalization #16

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
types: [opened,review_requested,reopened,synchronize]
push:
branches:
- 'main'
tags: '*'
check_run:
types: [rerequested]
schedule:
- cron: '0 8 * * 1' # run the cron job one time per week on Monday 8:00 AM
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ contains(matrix.version, 'nightly') }}
strategy:
fail-fast: false
matrix:
version:
- '1.10'
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
USE_DEV: "false"
COVERAGE: true
- name: Setup LCOV
uses: hrishikesh-kadam/setup-lcov@v1
- name: Report code coverage
id: coverage
uses: zgosalvez/github-actions-report-lcov@v4
with:
coverage-files: lcov.info
artifact-name: code-coverage-report
github-token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true
- name: Create coverage badge
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_SECRET }}
gistID: d12677a8265d5cff93a9737ecd36c305
filename: UnboundedBNN__${{ github.ref_name }}.json
label: Coverage
message: "${{ steps.coverage.outputs.total-coverage }}%"
valColorRange: ${{ steps.coverage.outputs.total-coverage }}
minColorRange: 40
maxColorRange: 90