Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch: {}

env:
CACHE_VERSION: 5
CACHE_VERSION: 8

# only run one copy per PR
concurrency:
Expand Down Expand Up @@ -44,9 +44,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# windows-2022 is a workaround for a julia issue as of 10/23/2025
# https://github.com/JuliaLang/julia/issues/59931
os: [windows-2022, ubuntu-latest, macos-latest]
os: [windows-latest, ubuntu-latest, macos-latest]
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
Expand Down Expand Up @@ -80,7 +78,7 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-2022]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3"]
fail-fast: false
steps:
Expand Down Expand Up @@ -135,7 +133,7 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-2022]
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps:
- name: Check out github
Expand Down Expand Up @@ -169,15 +167,15 @@ jobs:
key: ${{ hashFiles('**/*.stan', 'src/*', 'stan/src/stan/version.hpp', 'Makefile') }}-${{ matrix.os }}-v${{ env.CACHE_VERSION }}

- name: Run tests
if: matrix.os != 'windows-2022'
if: matrix.os != 'windows-latest'
run: |
cd clients/R
Rscript -e "devtools::test(reporter = c(\"summary\", \"fail\"))"
env:
TINYSTAN: ${{ github.workspace }}

- name: Run tests (windows)
if: matrix.os == 'windows-2022'
if: matrix.os == 'windows-latest'
run: |
cd clients/R
Rscript -e 'devtools::test(reporter = c("summary", "fail"))'
Expand All @@ -190,7 +188,7 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-2022]
os: [ubuntu-latest, macos-latest, windows-latest]
julia-version: ["1"]
fail-fast: false
steps:
Expand Down
Loading