Add movingCone example #13
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: Integration Tests | |
| on: | |
| push: | |
| branches: ["main", "dev"] | |
| pull_request: | |
| branches: [ "main", "dev"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| OpenFOAM: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/simvue-io/openfoam_example | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: aarcangeli/load-dotenv@v1 | |
| with: | |
| path: ".github" | |
| - name: Run tests | |
| run: | | |
| export WM_PROJECT_DIR=/opt/openfoam10 | |
| export SIMVUE_URL=${{ secrets.SIMVUE_URL }} | |
| export SIMVUE_TOKEN=${{ secrets.SIMVUE_TOKEN }} | |
| uv pip install pytest | |
| uv run pytest tests/integration/ |