CompatHelper: add new compat entry for MarginalLogDensities at versio… #145
This file contains hidden or 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: Float type promotion | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| # needed to allow julia-actions/cache to delete old caches that it has created | |
| permissions: | |
| actions: write | |
| contents: read | |
| # Cancel existing tests on the same PR if a new commit is added to a pull request | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
| jobs: | |
| floattypes: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: "1" | |
| - uses: julia-actions/cache@v3 | |
| - name: Run float type tests | |
| working-directory: test/floattypes | |
| run: | | |
| julia --project=. --color=yes -e 'using Pkg; Pkg.instantiate()' | |
| julia --project=. --color=yes main.jl setup f64 | |
| julia --project=. --color=yes main.jl run f64 | |
| julia --project=. --color=yes main.jl setup f32 | |
| julia --project=. --color=yes main.jl run f32 | |
| julia --project=. --color=yes main.jl setup f16 | |
| julia --project=. --color=yes main.jl run f16 | |
| julia --project=. --color=yes main.jl setup min | |
| julia --project=. --color=yes main.jl run min |