Skip to content

Commit acdbf28

Browse files
chore(ci): remove rsconnect-jupyter test suite (#638)
1 parent 06b5216 commit acdbf28

21 files changed

+13
-1063
lines changed

.github/workflows/main.yml

-47
Original file line numberDiff line numberDiff line change
@@ -175,53 +175,6 @@ jobs:
175175
pytest tests/test_main_system_caches.py
176176
pytest -m 'vetiver'
177177
178-
test-jupyter:
179-
runs-on: ubuntu-latest
180-
env:
181-
CONNECT_LICENSE: ${{ secrets.RSC_LICENSE }}
182-
ADMIN_API_KEY: ${{ secrets.ADMIN_API_KEY }}
183-
steps:
184-
- uses: actions/checkout@v4
185-
with:
186-
fetch-depth: 0
187-
env:
188-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
189-
- uses: extractions/setup-just@v2
190-
env:
191-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
192-
- name: Build Containers
193-
run: |
194-
cd integration-testing
195-
docker compose build client
196-
docker compose build cypress
197-
- name: Start Connect + rsconnect-jupyter
198-
run: |
199-
just integration-testing/up
200-
201-
- name: Run Cypress Tests
202-
run: |
203-
just integration-testing/up-cypress
204-
205-
# Videos are captured whether the suite fails or passes
206-
- name: Save videos
207-
uses: actions/upload-artifact@v4
208-
if: success() || failure()
209-
with:
210-
name: cypress-videos
211-
path: integration-testing/cypress/videos
212-
if-no-files-found: ignore
213-
retention-days: 1
214-
215-
# Screenshots are only captured on failure
216-
- name: Save screenshots
217-
uses: actions/upload-artifact@v4
218-
if: failure()
219-
with:
220-
name: cypress-screenshots
221-
path: integration-testing/cypress/screenshots
222-
if-no-files-found: ignore
223-
retention-days: 1
224-
225178
test-connect:
226179
needs: distributions
227180
runs-on: ubuntu-latest

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# The rsconnect-python CLI
22

33
This package provides a CLI (command-line interface) for interacting
4-
with and deploying to Posit Connect. This is also used by the
5-
[`rsconnect-jupyter`](https://github.com/rstudio/rsconnect-jupyter) package to deploy
6-
Jupyter notebooks via the Jupyter web console. Many types of content supported by Posit
4+
with and deploying to Posit Connect. Many types of content supported by Posit
75
Connect may be deployed by this package, including WSGI-style APIs, Dash, Streamlit,
86
Gradio, and Bokeh applications.
97

@@ -649,7 +647,7 @@ Generated from <code>rsconnect-python {{ rsconnect_python.version }}</code>
649647

650648
### Hide Jupyter Notebook Input Code Cells
651649

652-
The user can render a Jupyter notebook without its corresponding input code cells by passing the '--hide-all-input' flag through the cli:
650+
You can render a Jupyter notebook without its corresponding input code cells by passing the '--hide-all-input' flag through the cli:
653651

654652
```bash
655653
rsconnect deploy notebook \
@@ -659,7 +657,8 @@ rsconnect deploy notebook \
659657
my-notebook.ipynb
660658
```
661659

662-
To selectively hide input cells in a Jupyter notebook, the user needs to follow a two step process:
660+
To selectively hide input cells in a Jupyter notebook, you need to do two things:
661+
663662
1. tag cells with the 'hide_input' tag,
664663
2. then pass the ' --hide-tagged-input' flag through the cli:
665664

@@ -671,7 +670,8 @@ rsconnect deploy notebook \
671670
my-notebook.ipynb
672671
```
673672

674-
By default, rsconnect-python does not install Jupyter notebook related depenencies. These dependencies are installed via rsconnect-jupyter. When the user is using the hide input features in rsconnect-python by itself without rsconnect-jupyter, he/she needs to install the following package depenecies:
673+
By default, rsconnect-python does not install Jupyter notebook-related depenencies.
674+
To use these hide input features in rsconnect-python you need to install these extra dependencies:
675675

676676
```
677677
notebook

integration-testing/content/notebook/README.md

-19
This file was deleted.
Binary file not shown.

integration-testing/content/notebook/requirements.txt

-3
This file was deleted.

integration-testing/content/notebook/stock-report-jupyter.ipynb

-464
This file was deleted.
Binary file not shown.

integration-testing/content/voila/index.ipynb

-119
This file was deleted.

integration-testing/content/voila/requirements.txt

-4
This file was deleted.

integration-testing/cypress.config.js

-22
This file was deleted.

integration-testing/cypress/e2e/jupyter.cy.js

-54
This file was deleted.

integration-testing/cypress/e2e/voila.cy.js

-44
This file was deleted.

integration-testing/cypress/plugins/index.js

-17
This file was deleted.

0 commit comments

Comments
 (0)