Skip to content

Commit befb985

Browse files

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,23 @@ jobs:
8484
- name: Setup Docker Buildx
8585
uses: docker/setup-buildx-action@v3
8686

87-
- name: Write Posit Connect license to disk
88-
run: echo "$CONNECT_LICENSE" > ./integration/license.lic
89-
env:
90-
CONNECT_LICENSE: ${{ secrets.CONNECT_LICENSE }}
91-
9287
- name: Setup UV
9388
uses: astral-sh/setup-uv@v3
9489

9590
- name: Install UV Python
9691
run: uv python install
9792

98-
- name: Run integration tests for version
99-
run: make -C ./integration ${{ matrix.CONNECT_VERSION }}
93+
- name: Configure Connect license
94+
working-directory: ./integration
95+
run: |
96+
cat << EOF > connect.lic
97+
${{ secrets.CONNECT_LICENSE }}
98+
EOF
99+
chmod 600 connect.lic
100+
101+
- name: Run integration tests
102+
working-directory: ./integration
103+
run: make ${{ matrix.CONNECT_VERSION }}
100104

101105
- name: Upload integration test report
102106
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)