Complete redesign of "Observations" object enabling introduction of minibatching #1933
This file contains 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: Run Tests | |
on: | |
pull_request: | |
push: | |
tags: '*' | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
version: | |
- '1.6' # Long-Term Support release | |
- '1' # Latest 1.x release of julia | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macOS-latest | |
arch: | |
- x64 | |
steps: | |
- uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: julia-actions/julia-buildpkg@v1 | |
- uses: julia-actions/julia-runtest@v1 | |
- name: Generate coverage file | |
run: julia --project -e 'using Pkg; Pkg.add("Coverage"); | |
using Coverage; | |
LCOV.writefile("coverage-lcov.info", Codecov.process_folder())' | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
- name: Submit coverage | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
test_success: | |
runs-on: ubuntu-latest | |
needs: test | |
steps: | |
- run: echo "All tests passed" |