add pushforward from posterior as separate parallel script #1786
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: Tests | |
| on: [push] | |
| jobs: | |
| test-linux-v1: | |
| name: test-linux-v1 | |
| timeout-minutes: 60 | |
| strategy: | |
| fail-fast: true | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Cancel Previous Runs | |
| uses: styfle/cancel-workflow-action@0.13.1 | |
| with: | |
| access_token: ${{ github.token }} | |
| - name: Checkout | |
| uses: actions/checkout@main | |
| - name: Set up Julia | |
| uses: julia-actions/setup-julia@v3 | |
| with: | |
| version: '1' | |
| - name: Install Julia Project Packages | |
| run: | | |
| julia --project -e 'using Pkg; Pkg.instantiate()' | |
| - name: Run Unit Tests | |
| run: | | |
| julia --project -e 'using Pkg; Pkg.test(coverage=true)' | |
| - name: Generate coverage file | |
| run: | | |
| julia --project -e 'using Pkg; Pkg.add("Coverage"); | |
| using Coverage; | |
| LCOV.writefile("coverage-lcov.info", Codecov.process_folder())' | |
| if: success() | |
| - name: Submit coverage | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| token: ${{secrets.CODECOV_TOKEN}} | |
| if: success() | |
| test-macos-v1: | |
| name: test-macos-v1 | |
| timeout-minutes: 60 | |
| strategy: | |
| fail-fast: true | |
| runs-on: macos-latest | |
| steps: | |
| - name: Cancel Previous Runs | |
| uses: styfle/cancel-workflow-action@0.13.1 | |
| with: | |
| access_token: ${{ github.token }} | |
| - name: Checkout | |
| uses: actions/checkout@main | |
| - name: Set up Julia | |
| uses: julia-actions/setup-julia@v3 | |
| with: | |
| version: 1 | |
| - name: Install Julia Project Packages | |
| run: | | |
| julia --project -e 'using Pkg; Pkg.instantiate()' | |
| - name: Run Unit Tests | |
| run: | | |
| julia --project -e 'using Pkg; Pkg.test()' | |
| test-windows-v1: | |
| name: test-windows-v1 | |
| timeout-minutes: 60 | |
| strategy: | |
| fail-fast: true | |
| runs-on: windows-latest | |
| steps: | |
| - name: Cancel Previous Runs | |
| uses: styfle/cancel-workflow-action@0.13.1 | |
| with: | |
| access_token: ${{ github.token }} | |
| - name: Checkout | |
| uses: actions/checkout@main | |
| - name: Set up Julia | |
| uses: julia-actions/setup-julia@v3 | |
| with: | |
| version: 1 | |
| - name: Install Julia Project Packages | |
| run: | | |
| julia --project -e 'using Pkg; Pkg.instantiate()' | |
| - name: Run Unit Tests | |
| run: | | |
| julia --project -e 'using Pkg; Pkg.test()' |