Skip to content

Add post_explicit! call to end of step, rm nvtx range macros #886

Add post_explicit! call to end of step, rm nvtx range macros

Add post_explicit! call to end of step, rm nvtx range macros #886

Workflow file for this run

name: Unit Tests
on:
pull_request:
push:
branches:
- main
- trying
- staging
jobs:
test-os:
timeout-minutes: 120
strategy:
matrix:
julia-version: [1.9]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2.2.0
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
# https://discourse.julialang.org/t/recommendation-cache-julia-artifacts-in-ci-services/35484
- name: Cache artifacts
uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@master
- uses: julia-actions/julia-runtest@master