Skip to content

Resolve conflicting spectral broadcast styles for instantiated arguments #4140

Resolve conflicting spectral broadcast styles for instantiated arguments

Resolve conflicting spectral broadcast styles for instantiated arguments #4140

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
tags: '*'
pull_request:
branches:
- main
# Needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
timeout-minutes: ${{ matrix.os == 'macOS-latest' && 120 || 80 }}
name: ci ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.10'
- '1.11'
os:
- ubuntu-latest
# There is a concurrency limit for MacOS runners across the
# entire organization.
# (see https://docs.github.com/en/actions/reference/limits#job-concurrency-limits-for-github-hosted-runners)
# To help with this, MacOS runners are only run when PRs are merged
# into the main branch.
- ${{ github.event_name == 'push' && 'macos-latest' || '' }}
exclude:
- os: ''
steps:
- name: Checkout
uses: actions/checkout@v7
- uses: julia-actions/setup-julia@v3
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v3
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@latest
- uses: codecov/codecov-action@v7
if: ${{ matrix.version == '1.10' }} && ${{ matrix.os == 'ubuntu-latest' }}

Check warning on line 54 in .github/workflows/UnitTests.yml

View workflow run for this annotation

GitHub Actions / Unit Tests

Workflow syntax warning

.github/workflows/UnitTests.yml (Line: 54, Col: 13): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
with:
files: lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}