Unverified Commit fb98ab27 authored by Nicolas Patry's avatar Nicolas Patry Committed by GitHub
Browse files

Fixing the CI to also run in release when it's a tag ? (#2138)

parent 74b0231b
......@@ -157,7 +157,7 @@ jobs:
runs-on: ["self-hosted", "${{ needs.build-and-push.outputs.runs_on }}", "multi-gpu"]
if: needs.build-and-push.outputs.runs_on != 'ubuntu-latest'
env:
PYTEST_FLAGS: ${{ github.ref == 'refs/heads/main' && '--release' || '' }}
PYTEST_FLAGS: ${{ (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main') && '--release' || '' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment