Skip to content

Commit 7c38e2d

Browse files
fix: Small fix in workflow to support DIRACX
1 parent 80cc710 commit 7c38e2d

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/integration.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- TEST_NAME: "Backward Compatibility"
4343
ARGS: CLIENT_INSTALLATION_BRANCH=rel-v8r0 PILOT_INSTALLATION_BRANCH=rel-v8r0
4444
- TEST_NAME: "TestDIRACX"
45-
ARGS: TEST_DIRACX=Yes
45+
ARGS: TEST_DIRACX=Yes DIRACX_REPO=${DIRACX_REPO} DIRACX_BRANCH=${DIRACX_BRANCH}
4646

4747
steps:
4848
- uses: actions/checkout@v4
@@ -62,19 +62,9 @@ jobs:
6262
pyyaml \
6363
requests \
6464
typer
65-
- name: Set DIRACX args
66-
if: ${{ contains(matrix.ARGS, 'TEST_DIRACX=Yes') }}
67-
run: |
68-
if [ "${DIRACX_REPO}" != "default" ]; then
69-
echo "DIRACX_REPO=${DIRACX_REPO}" >> $GITHUB_ENV
70-
echo "DIRACX_BRANCH=${DIRACX_BRANCH}" >> $GITHUB_ENV
71-
else
72-
echo "DIRACX_ARGS=" >> $GITHUB_ENV
73-
fi
74-
7565
- name: Prepare environment
7666
run: |
77-
./integration_tests.py prepare-environment ${{ matrix.ARGS }} ${DIRACX_ARGS}
67+
./integration_tests.py prepare-environment ${{ matrix.ARGS }}
7868
- name: Install server
7969
run: ./integration_tests.py install-server
8070
- name: Install client

0 commit comments

Comments
 (0)