Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

Commit f654874

Browse files
committed
change env for unit test when run is triggered
1 parent 5f112a8 commit f654874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/unit_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
test:
1717
runs-on: ubuntu-latest
18-
environment: ${{ startsWith(github.ref, 'refs/tags/v') && 'CI-prod' || 'CI-staging' }}
18+
environment: ${{ startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch') && 'CI-prod' || 'CI-staging' }}
1919
strategy:
2020
# You can use PyPy versions in python-version.
2121
# For example, pypy-2.7 and pypy-3.8

0 commit comments

Comments
 (0)