Skip to content

Feature/smapling-method-tweaks #218

Feature/smapling-method-tweaks

Feature/smapling-method-tweaks #218

Workflow file for this run

name: CI
on:
push:
branches:
- main
- dev
- hotfix/*
# - feature/* # temporary for testing
tags: ['*']
pull_request:
branches:
- main
- dev
workflow_dispatch:
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.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['lts', '1', 'nightly']
julia-arch: [x64]
os: [ubuntu-latest]
include:
- julia-version: '1'
os: macos-latest
julia-arch: aarch64
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
files: lcov.info
flag-name: run-${{ join(matrix.*, '-') }}
github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
fail-on-error: false
parallel: true
- uses: julia-actions/julia-uploadcoveralls@v1
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
# carryforward: "run-1,run-2"