Md/workflow tests #2
Workflow file for this run
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
| # This job installs Love.jl and Fluid.jl, and runs tests | |
| # This occurs when a PR to main is created | |
| name: Tests | |
| permissions: | |
| actions: write | |
| contents: read | |
| pull-requests: write | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| - main | |
| push: | |
| branches: | |
| - master | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| # Setup Julia | |
| - name: Set up Julia | |
| uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: '1.11' | |
| # Run tests | |
| - name: Run test suite | |
| run: julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.test()' |