Skip to content

Commit 4a259b4

Browse files
authored
initial removal (#727)
1 parent b0427ef commit 4a259b4

File tree

2 files changed

+0
-195
lines changed

2 files changed

+0
-195
lines changed

.github/workflows/deploy_tests.yml

Lines changed: 0 additions & 110 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,6 @@ jobs:
8989
id: create_dist
9090
env:
9191
PACKAGE_NAME: ${{ matrix.package_name }}
92-
- uses: actions/upload-artifact@v4
93-
with:
94-
name: distributions
95-
path: dist/
96-
if: matrix.package_name == 'rsconnect_python'
9792
- run: pip install -vvv ${{ steps.create_dist.outputs.whl }}
9893
- run: rsconnect version
9994
- run: rsconnect --help
@@ -172,83 +167,3 @@ jobs:
172167
run: |
173168
pytest tests/test_main_system_caches.py
174169
pytest -m 'vetiver'
175-
176-
test-connect:
177-
needs: distributions
178-
runs-on: ubuntu-latest
179-
strategy:
180-
fail-fast: false
181-
matrix:
182-
PY_VERSION:
183-
- 3.11.13
184-
- 3.12.11
185-
steps:
186-
- uses: extractions/setup-just@v2
187-
env:
188-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
189-
- uses: actions/checkout@v4
190-
with:
191-
fetch-depth: 0
192-
env:
193-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
194-
# Checkout the rsconnect-python tests from Connect
195-
- uses: actions/checkout@v4
196-
with:
197-
repository: rstudio/connect
198-
path: 'test/connect-rsconnect-python'
199-
sparse-checkout: |
200-
test/rsconnect-python
201-
tools/dev
202-
examples
203-
sparse-checkout-cone-mode: false
204-
token: ${{ secrets.CONNECT_PAT }}
205-
206-
- name: Delete dotnet to save space
207-
run: sudo rm -rf /usr/share/dotnet
208-
209-
- name: Build docker container-image
210-
run: |
211-
cd test/connect-rsconnect-python/test/rsconnect-python/
212-
docker compose --profile rsconnect build
213-
214-
- name: Restore dist
215-
uses: actions/download-artifact@v4
216-
with:
217-
name: distributions
218-
path: dist/
219-
220-
- name: Run rsconnect-python Tests
221-
env:
222-
CONNECT_LICENSE: "${{ secrets.RSC_LICENSE }}"
223-
PY_VERSION: ${{ matrix.PY_VERSION }}
224-
TEST_SUBSET: "CI"
225-
RSC_AUTOMATION_PAT: "${{ secrets.CONNECT_PAT }}"
226-
ADMIN_API_KEY: "${{ secrets.ADMIN_API_KEY }}"
227-
QUARTO_VERSION: "1.4.546"
228-
229-
# This allows us to start Connect separately in our own docker container
230-
CONNECT_SERVER: "http://localhost:3939"
231-
remote: "yes"
232-
run: |
233-
cd integration-testing
234-
docker compose pull connect
235-
docker compose up -d connect
236-
just ../test/connect-rsconnect-python/test/rsconnect-python/test-rsconnect-python-repo
237-
238-
# Videos are captured whether the suite fails or passes
239-
- name: Save videos
240-
uses: actions/upload-artifact@v4
241-
if: failure()
242-
with:
243-
name: cypress-videos_${{ matrix.PY_VERSION }}_native
244-
path: test/connect-rsconnect-python/cypress/videos
245-
if-no-files-found: ignore
246-
247-
# Screenshots are only captured on failure
248-
- name: Save screenshots
249-
uses: actions/upload-artifact@v4
250-
if: failure()
251-
with:
252-
name: cypress-screenshots_${{ matrix.PY_VERSION }}_native
253-
path: test/connect-rsconnect-python/cypress/screenshots
254-
if-no-files-found: ignore

0 commit comments

Comments
 (0)