From d79389346e4e615d860e4103e44dfcae42ce33a9 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Mon, 18 Sep 2023 14:46:16 -0400 Subject: [PATCH 01/27] add nightly tests --- .github/workflows/nightly.yaml | 233 +++++++++++++++++++++++++++++++++ 1 file changed, 233 insertions(+) create mode 100644 .github/workflows/nightly.yaml diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml new file mode 100644 index 00000000..ff3027e4 --- /dev/null +++ b/.github/workflows/nightly.yaml @@ -0,0 +1,233 @@ +name: nightly +on: + schedule: + - cron: "0 09 * * *" # Runs 11 AM UTC == 2 AM PDT + workflow_dispatch: + +permissions: + id-token: write + contents: write + pull-requests: write + +jobs: + test: + strategy: + matrix: + os: [ubuntu-latest] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + include: + - os: macos-latest + python-version: '3.9' + - os: windows-latest + python-version: '3.9' + runs-on: ${{ matrix.os }} + name: test (py${{ matrix.python-version }} ${{ matrix.os }}) + steps: + - uses: actions/checkout@v2 + - run: git fetch --prune --unshallow + - uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - run: pip install -r requirements.txt + - run: pip freeze + - run: make fmt + - run: make lint + - run: python setup.py --version + - run: make test-${{ matrix.python-version }} + - if: github.event_name == 'pull_request' && matrix.python-version == '3.8' + uses: orgoro/coverage@v3 + with: + coverageFile: coverage.xml + token: ${{ secrets.GITHUB_TOKEN }} + + prerelease-test: + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/checkout@v2 + - run: git fetch --prune --unshallow + - uses: actions/setup-python@v2 + with: + python-version: 3.8.x + - run: pip install --pre -r requirements.txt + - run: pip freeze + - run: make fmt + - run: make lint + - run: python setup.py --version + - run: make mock-test-3.8 + + distributions: + needs: test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: git fetch --prune --unshallow + - uses: actions/setup-python@v2 + with: + python-version: 3.8.x + - run: pip install -r requirements.txt + - run: pip freeze + - run: make dist + id: create_dist + - uses: actions/upload-artifact@v2 + with: + name: distributions + path: dist/ + - run: pip install -vvv ${{ steps.create_dist.outputs.whl }} + - run: rsconnect version + - run: rsconnect --help + - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false + - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ${{ steps.create_dist.outputs.whl }} + asset_name: ${{ steps.create_dist.outputs.whl_basename }} + asset_content_type: application/x-wheel+zip + - uses: aws-actions/configure-aws-credentials@v1 + id: creds + with: + role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} + aws-region: ${{ secrets.AWS_REGION }} + - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + run: make sync-latest-to-s3 + - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + run: make sync-to-s3 + - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@release/v1 + with: + user: __token__ + password: ${{ secrets.PYPI_TOKEN }} + + docs: + needs: test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: git fetch --prune --unshallow + - uses: actions/setup-python@v2 + with: + python-version: 3.8.x + - run: pip install -r requirements.txt + - run: pip freeze + - run: make docs + - uses: actions/upload-artifact@v2 + with: + name: docs + path: docs/site/ + - uses: aws-actions/configure-aws-credentials@v1 + id: creds + with: + role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} + aws-region: ${{ secrets.AWS_REGION }} + - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + run: make sync-latest-docs-to-s3 + - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + uses: aws-actions/configure-aws-credentials@v1 + with: + role-to-assume: ${{ secrets.DOCS_AWS_ROLE }} + aws-region: us-east-1 + - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + run: make promote-docs-in-s3 + + dispatch: + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + needs: distributions + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v2 + with: + github-token: ${{ secrets.DISPATCH_TOKEN }} + script: | + github.repos.createDispatchEvent({ + owner: 'rstudio', + repo: 'rsconnect-jupyter', + event_type: 'rsconnect_python_latest' + }) + + test-rsconnect: + name: "Integration tests against latest Connect" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install -r requirements.txt + python -m pip install -r vetiver-testing/vetiver-requirements.txt + - name: Run RStudio Connect + run: | + docker-compose up --build -d + pip freeze > requirements.txt + make dev + env: + RSC_LICENSE: ${{ secrets.RSC_LICENSE }} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + - name: Get logs in case of failure + run: | + docker-compose logs rsconnect + if: ${{ failure() }} + + # NOTE: edited to run checks for python package + - name: Run tests + run: | + pytest tests/test_main_system_caches.py + pytest -m 'vetiver' + + test-jupyter: + runs-on: ubuntu-latest + env: + CONNECT_LICENSE: ${{ secrets.RSC_LICENSE }} + ADMIN_API_KEY: ${{ secrets.ADMIN_API_KEY }} + steps: + - uses: actions/checkout@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: extractions/setup-just@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Build Containers + run: | + just integration-testing/build + - name: Start Connect + rsconnect-jupyter + run: | + just integration-testing/up + + - name: Run Cypress Tests + run: | + export ADMIN_API_KEY="${{ secrets.ADMIN_API_KEY }}" + just integration-testing/up-cypress + + # Videos are captured whether the suite fails or passes + - name: Save videos + uses: actions/upload-artifact@v3 + if: success() || failure() + with: + name: cypress-videos + path: integration-testing/cypress/videos + if-no-files-found: ignore + retention-days: 1 + + # Screenshots are only captured on failure + - name: Save screenshots + uses: actions/upload-artifact@v3 + if: failure() + with: + name: cypress-screenshots + path: integration-testing/cypress/screenshots + if-no-files-found: ignore + retention-days: 1 From af35d3a585540398c0c79031019dfedc68415f3f Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 10:35:43 -0500 Subject: [PATCH 02/27] clone and run rsconnect tests --- .github/workflows/deploy_tests.yml | 82 ++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 .github/workflows/deploy_tests.yml diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml new file mode 100644 index 00000000..94c9ff52 --- /dev/null +++ b/.github/workflows/deploy_tests.yml @@ -0,0 +1,82 @@ +name: rsconnect-python-tests-at-night +on: + pull_request: + paths: + - '.github/workflows/rsconnect-python.yml' + - 'examples/**' + schedule: + - cron: "0 09 * * *" # Runs 11 AM UTC == 2 AM PDT + workflow_dispatch: + +jobs: + connect-native: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + PY_VERSION: + - 3.8.18 + - 3.9.18 + - 3.10.13 + - 3.11.6 + PYTHON_BUILD: [binary, conda] + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + + - uses: actions/checkout@v4 + with: + repository: rstudio/connect + path: 'test/connect-rsconnect-python' + sparse-checkout: 'test/rsconnect-python' + sparse-checkout-cone-mode: false + token: ${{ secrets.CONNECT_PAT }} + + - uses: extractions/setup-just@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Delete packages to save space + run: | + sudo rm -rf /usr/local/lib/android # will release about 10 GB + sudo rm -rf /usr/share/dotnet # will release about 20GB + + - name: Build docker container-image + run: | + just test/rsconnect-python/docker-build + - name: Run rsconnect-python Tests + env: + CONNECT_LICENSE: "${{ secrets.RSC_LICENSE }}" + PY_VERSION: ${{ matrix.PY_VERSION }} + CONNECT_CONFIG: "test-rsconnect-python.gcfg" + TEST_SUBSET: "ALL" + RSC_AUTOMATION_PAT: "${{ secrets.CONNECT_PAT }}" + ADMIN_API_KEY: "${{ secrets.ADMIN_API_KEY }}" + PYTHON_BUILD: "${{ matrix.PYTHON_BUILD }}" + # This allows us to start Connect separately in our own docker container + CONNECT_SERVER: "http://localhost:3939" + remote: "yes" + run: | + docker compose pull connect + docker compose up -d connect + just test/connect-rsconnect-python/test-${PYTHON_BUILD} + # Videos are captured whether the suite fails or passes + - name: Save videos + uses: actions/upload-artifact@v3 + if: failure() + with: + name: cypress-videos_${{ matrix.PY_VERSION }}_native + path: test/connect-rsconnect-python/cypress/videos + if-no-files-found: ignore + + # Screenshots are only captured on failure + - name: Save screenshots + uses: actions/upload-artifact@v3 + if: failure() + with: + name: cypress-screenshots_${{ matrix.PY_VERSION }}_native + path: test/connect-rsconnect-python/cypress/screenshots + if-no-files-found: ignore + From 1709741df113019a70344ae80c75d513e0c82392 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 10:40:58 -0500 Subject: [PATCH 03/27] force run --- .github/workflows/deploy_tests.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 94c9ff52..a5b29f59 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -1,9 +1,7 @@ name: rsconnect-python-tests-at-night on: pull_request: - paths: - - '.github/workflows/rsconnect-python.yml' - - 'examples/**' + branches: [master] schedule: - cron: "0 09 * * *" # Runs 11 AM UTC == 2 AM PDT workflow_dispatch: From 63ffcaeab230557ac3f41a23c1ea2ff830dc4070 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 11:18:12 -0500 Subject: [PATCH 04/27] fix path --- .github/workflows/deploy_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index a5b29f59..532be023 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -43,7 +43,7 @@ jobs: - name: Build docker container-image run: | - just test/rsconnect-python/docker-build + just test/connect-rsconnect-python/docker-build - name: Run rsconnect-python Tests env: CONNECT_LICENSE: "${{ secrets.RSC_LICENSE }}" From a6c14840cf01679c2b3d7bb203454427515ef449 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 11:21:18 -0500 Subject: [PATCH 05/27] fix path --- .github/workflows/deploy_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 532be023..749fee28 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -43,7 +43,7 @@ jobs: - name: Build docker container-image run: | - just test/connect-rsconnect-python/docker-build + just test/connect-rsconnect-python/rsconnect-python/docker-build - name: Run rsconnect-python Tests env: CONNECT_LICENSE: "${{ secrets.RSC_LICENSE }}" From 638e0610618eec2406cd76b15f7a7b669006c5eb Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 11:25:07 -0500 Subject: [PATCH 06/27] tmate --- .github/workflows/deploy_tests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 749fee28..4eead7e4 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -43,7 +43,7 @@ jobs: - name: Build docker container-image run: | - just test/connect-rsconnect-python/rsconnect-python/docker-build + just test/connect-rsconnect-python/docker-build - name: Run rsconnect-python Tests env: CONNECT_LICENSE: "${{ secrets.RSC_LICENSE }}" @@ -60,6 +60,12 @@ jobs: docker compose pull connect docker compose up -d connect just test/connect-rsconnect-python/test-${PYTHON_BUILD} + + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 + with: + limit-access-to-actor: true # Videos are captured whether the suite fails or passes - name: Save videos uses: actions/upload-artifact@v3 From 74a146ec4d768e35fad9d14c852bba9189416cd8 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 11:28:42 -0500 Subject: [PATCH 07/27] fix path again --- .github/workflows/deploy_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 4eead7e4..eff784de 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -43,7 +43,7 @@ jobs: - name: Build docker container-image run: | - just test/connect-rsconnect-python/docker-build + just test/connect-rsconnect-python/test/rsconnect-python/docker-build - name: Run rsconnect-python Tests env: CONNECT_LICENSE: "${{ secrets.RSC_LICENSE }}" @@ -59,7 +59,7 @@ jobs: run: | docker compose pull connect docker compose up -d connect - just test/connect-rsconnect-python/test-${PYTHON_BUILD} + just test/connect-rsconnect-python/test/rsconnect-python/test-${PYTHON_BUILD} - name: Setup tmate session if: ${{ failure() }} From 57fae4488773886b1ccecc91953d955d2a3e8a8e Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 11:44:06 -0500 Subject: [PATCH 08/27] get scripts too --- .github/workflows/deploy_tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index eff784de..43e7c97b 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -28,7 +28,9 @@ jobs: with: repository: rstudio/connect path: 'test/connect-rsconnect-python' - sparse-checkout: 'test/rsconnect-python' + sparse-checkout: | + 'test/rsconnect-python' + 'scripts' sparse-checkout-cone-mode: false token: ${{ secrets.CONNECT_PAT }} From 5b3f2e37b71dcd6782211fd5bafbb79561670f02 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 11:49:41 -0500 Subject: [PATCH 09/27] get scripts too --- .github/workflows/deploy_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 43e7c97b..abb172ef 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -29,8 +29,8 @@ jobs: repository: rstudio/connect path: 'test/connect-rsconnect-python' sparse-checkout: | - 'test/rsconnect-python' - 'scripts' + test/rsconnect-python + scripts sparse-checkout-cone-mode: false token: ${{ secrets.CONNECT_PAT }} From 499c024bca6be4647bed9789980b3f2d9e400968 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 15:22:34 -0500 Subject: [PATCH 10/27] testing --- .github/workflows/deploy_tests.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index abb172ef..51bc7c8d 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -27,10 +27,12 @@ jobs: - uses: actions/checkout@v4 with: repository: rstudio/connect + ref: kg-rsconnect-repo path: 'test/connect-rsconnect-python' sparse-checkout: | test/rsconnect-python scripts + examples sparse-checkout-cone-mode: false token: ${{ secrets.CONNECT_PAT }} @@ -45,7 +47,8 @@ jobs: - name: Build docker container-image run: | - just test/connect-rsconnect-python/test/rsconnect-python/docker-build + cd test/connect-rsconnect-python/test/rsconnect-python/ + docker-compose --profile rsconnect build - name: Run rsconnect-python Tests env: CONNECT_LICENSE: "${{ secrets.RSC_LICENSE }}" @@ -55,13 +58,16 @@ jobs: RSC_AUTOMATION_PAT: "${{ secrets.CONNECT_PAT }}" ADMIN_API_KEY: "${{ secrets.ADMIN_API_KEY }}" PYTHON_BUILD: "${{ matrix.PYTHON_BUILD }}" + REPO: "rsconnect-python" # This allows us to start Connect separately in our own docker container CONNECT_SERVER: "http://localhost:3939" remote: "yes" run: | + make dist + cd integration-testing docker compose pull connect - docker compose up -d connect - just test/connect-rsconnect-python/test/rsconnect-python/test-${PYTHON_BUILD} + docker compose up -d connect + just ../test/connect-rsconnect-python/test/rsconnect-python/test-rsconnect-python-repo-${PYTHON_BUILD} - name: Setup tmate session if: ${{ failure() }} From 3b0139d71e4f28fcd3a1c59c7785eefde415c968 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 15:36:46 -0500 Subject: [PATCH 11/27] dist --- .github/workflows/deploy_tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 51bc7c8d..a99e39ae 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -63,7 +63,9 @@ jobs: CONNECT_SERVER: "http://localhost:3939" remote: "yes" run: | - make dist + run: pip install -e '.[test]' + run: pip freeze + run: make dist cd integration-testing docker compose pull connect docker compose up -d connect From 68b4b52be9e75dcff0b8a2563f994942c02aabe2 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 15:48:36 -0500 Subject: [PATCH 12/27] dist --- .github/workflows/deploy_tests.yml | 50 +++++++++--------------------- 1 file changed, 15 insertions(+), 35 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index a99e39ae..b30e970a 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -7,43 +7,26 @@ on: workflow_dispatch: jobs: - connect-native: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - PY_VERSION: - - 3.8.18 - - 3.9.18 - - 3.10.13 - - 3.11.6 - PYTHON_BUILD: [binary, conda] - steps: + + distributions: + runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - - - uses: actions/checkout@v4 - with: - repository: rstudio/connect - ref: kg-rsconnect-repo - path: 'test/connect-rsconnect-python' - sparse-checkout: | - test/rsconnect-python - scripts - examples - sparse-checkout-cone-mode: false - token: ${{ secrets.CONNECT_PAT }} - - - uses: extractions/setup-just@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Delete packages to save space - run: | - sudo rm -rf /usr/local/lib/android # will release about 10 GB - sudo rm -rf /usr/share/dotnet # will release about 20GB + - uses: actions/setup-python@v2 + with: + python-version: 3.8.x + - run: pip install -e '.[test]' + - run: pip freeze + - run: make dist + id: create_dist + - uses: actions/upload-artifact@v2 + with: + name: distributions + path: dist/ - name: Build docker container-image run: | @@ -63,9 +46,6 @@ jobs: CONNECT_SERVER: "http://localhost:3939" remote: "yes" run: | - run: pip install -e '.[test]' - run: pip freeze - run: make dist cd integration-testing docker compose pull connect docker compose up -d connect From 68acc75fe8c5acf1f51c75d8cf3b3e90e3d0552e Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 15:54:07 -0500 Subject: [PATCH 13/27] dist --- .github/workflows/deploy_tests.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index b30e970a..7f48a379 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -16,6 +16,18 @@ jobs: fetch-depth: 0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - uses: actions/checkout@v4 + with: + repository: rstudio/connect + path: 'test/connect-rsconnect-python' + sparse-checkout: | + test/rsconnect-python + scripts + examples + sparse-checkout-cone-mode: false + token: ${{ secrets.CONNECT_PAT }} + - uses: actions/setup-python@v2 with: python-version: 3.8.x From ad1e205b2094f099ed15aaf44d1ca3f1dd42cd07 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 16:01:32 -0500 Subject: [PATCH 14/27] dist --- .github/workflows/deploy_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 7f48a379..5bcc6cd2 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -21,6 +21,7 @@ jobs: with: repository: rstudio/connect path: 'test/connect-rsconnect-python' + ref: kg-rsconnect-repo sparse-checkout: | test/rsconnect-python scripts From 0f7c08804ada21c59c68cd8fabe1086903b903ab Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 16:08:42 -0500 Subject: [PATCH 15/27] add just --- .github/workflows/deploy_tests.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 5bcc6cd2..d7714c66 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -40,11 +40,27 @@ jobs: with: name: distributions path: dist/ + - uses: extractions/setup-just@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build docker container-image run: | cd test/connect-rsconnect-python/test/rsconnect-python/ docker-compose --profile rsconnect build + + connect: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + PY_VERSION: + - 3.8.18 + - 3.9.18 + - 3.10.13 + - 3.11.6 + PYTHON_BUILD: [binary, conda] + steps: - name: Run rsconnect-python Tests env: CONNECT_LICENSE: "${{ secrets.RSC_LICENSE }}" From 977b3634cf0984c38718e13473ca39b5aeb38e3e Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 16:12:01 -0500 Subject: [PATCH 16/27] add just --- .github/workflows/deploy_tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index d7714c66..103f5784 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -50,6 +50,7 @@ jobs: docker-compose --profile rsconnect build connect: + needs: distributions runs-on: ubuntu-latest strategy: fail-fast: false @@ -61,6 +62,10 @@ jobs: - 3.11.6 PYTHON_BUILD: [binary, conda] steps: + - name: Restore dist + uses: actions/download-artifact@v3 + with: + name: distributions - name: Run rsconnect-python Tests env: CONNECT_LICENSE: "${{ secrets.RSC_LICENSE }}" From 95884444d0f0b5e9e2e20f652d507a9cc0c98706 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 16:17:40 -0500 Subject: [PATCH 17/27] add fix path --- .github/workflows/deploy_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 103f5784..2aeed493 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -80,7 +80,7 @@ jobs: CONNECT_SERVER: "http://localhost:3939" remote: "yes" run: | - cd integration-testing + cd ../../../../integration-testing docker compose pull connect docker compose up -d connect just ../test/connect-rsconnect-python/test/rsconnect-python/test-rsconnect-python-repo-${PYTHON_BUILD} From 3c5772c6e9e71663763e2c8e651203a708eed982 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 16:24:15 -0500 Subject: [PATCH 18/27] add fix path --- .github/workflows/deploy_tests.yml | 43 +++++++++++++++++------------- 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 2aeed493..51d5921b 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -16,18 +16,6 @@ jobs: fetch-depth: 0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - uses: actions/checkout@v4 - with: - repository: rstudio/connect - path: 'test/connect-rsconnect-python' - ref: kg-rsconnect-repo - sparse-checkout: | - test/rsconnect-python - scripts - examples - sparse-checkout-cone-mode: false - token: ${{ secrets.CONNECT_PAT }} - uses: actions/setup-python@v2 with: @@ -44,11 +32,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Build docker container-image - run: | - cd test/connect-rsconnect-python/test/rsconnect-python/ - docker-compose --profile rsconnect build - connect: needs: distributions runs-on: ubuntu-latest @@ -62,10 +45,34 @@ jobs: - 3.11.6 PYTHON_BUILD: [binary, conda] steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - uses: actions/checkout@v4 + with: + repository: rstudio/connect + path: 'test/connect-rsconnect-python' + ref: kg-rsconnect-repo + sparse-checkout: | + test/rsconnect-python + scripts + examples + sparse-checkout-cone-mode: false + token: ${{ secrets.CONNECT_PAT }} + + - name: Build docker container-image + run: | + cd test/connect-rsconnect-python/test/rsconnect-python/ + docker-compose --profile rsconnect build + - name: Restore dist uses: actions/download-artifact@v3 with: name: distributions + - name: Run rsconnect-python Tests env: CONNECT_LICENSE: "${{ secrets.RSC_LICENSE }}" @@ -80,7 +87,7 @@ jobs: CONNECT_SERVER: "http://localhost:3939" remote: "yes" run: | - cd ../../../../integration-testing + cd integration-testing docker compose pull connect docker compose up -d connect just ../test/connect-rsconnect-python/test/rsconnect-python/test-rsconnect-python-repo-${PYTHON_BUILD} From 5685bf79ecb07bf30be3accd4133235e78947bbf Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 16:29:56 -0500 Subject: [PATCH 19/27] add fix path --- .github/workflows/deploy_tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 51d5921b..bbb9dd31 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -28,9 +28,6 @@ jobs: with: name: distributions path: dist/ - - uses: extractions/setup-just@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} connect: needs: distributions @@ -45,6 +42,9 @@ jobs: - 3.11.6 PYTHON_BUILD: [binary, conda] steps: + - uses: extractions/setup-just@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/checkout@v4 with: fetch-depth: 0 From cb3a95e904650bcee4cd0073ae4edb3ccf977a92 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Thu, 30 Nov 2023 20:05:31 -0500 Subject: [PATCH 20/27] add config --- .github/workflows/deploy_tests.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index bbb9dd31..333efb6e 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -24,12 +24,12 @@ jobs: - run: pip freeze - run: make dist id: create_dist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: distributions path: dist/ - connect: + test-connect: needs: distributions runs-on: ubuntu-latest strategy: @@ -60,6 +60,7 @@ jobs: test/rsconnect-python scripts examples + config sparse-checkout-cone-mode: false token: ${{ secrets.CONNECT_PAT }} @@ -72,6 +73,7 @@ jobs: uses: actions/download-artifact@v3 with: name: distributions + path: dist/ - name: Run rsconnect-python Tests env: @@ -92,11 +94,11 @@ jobs: docker compose up -d connect just ../test/connect-rsconnect-python/test/rsconnect-python/test-rsconnect-python-repo-${PYTHON_BUILD} - - name: Setup tmate session - if: ${{ failure() }} - uses: mxschmitt/action-tmate@v3 - with: - limit-access-to-actor: true + # - name: Setup tmate session + # if: ${{ failure() }} + # uses: mxschmitt/action-tmate@v3 + # with: + # limit-access-to-actor: true # Videos are captured whether the suite fails or passes - name: Save videos uses: actions/upload-artifact@v3 From 31eee9e11ebaa5b0ccd747207c5935670c210a65 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Fri, 1 Dec 2023 08:40:29 -0500 Subject: [PATCH 21/27] add quarto --- .github/workflows/deploy_tests.yml | 15 ++++++--------- integration-testing/docker/rstudio-connect.gcfg | 4 ++++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 333efb6e..c0c5124a 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -38,9 +38,7 @@ jobs: PY_VERSION: - 3.8.18 - 3.9.18 - - 3.10.13 - - 3.11.6 - PYTHON_BUILD: [binary, conda] + PYTHON_BUILD: [binary] steps: - uses: extractions/setup-just@v1 env: @@ -60,7 +58,6 @@ jobs: test/rsconnect-python scripts examples - config sparse-checkout-cone-mode: false token: ${{ secrets.CONNECT_PAT }} @@ -94,11 +91,11 @@ jobs: docker compose up -d connect just ../test/connect-rsconnect-python/test/rsconnect-python/test-rsconnect-python-repo-${PYTHON_BUILD} - # - name: Setup tmate session - # if: ${{ failure() }} - # uses: mxschmitt/action-tmate@v3 - # with: - # limit-access-to-actor: true + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 + with: + limit-access-to-actor: true # Videos are captured whether the suite fails or passes - name: Save videos uses: actions/upload-artifact@v3 diff --git a/integration-testing/docker/rstudio-connect.gcfg b/integration-testing/docker/rstudio-connect.gcfg index 24cd1aab..564d6b80 100644 --- a/integration-testing/docker/rstudio-connect.gcfg +++ b/integration-testing/docker/rstudio-connect.gcfg @@ -18,6 +18,10 @@ Enabled = true Executable = /opt/python/3.8.10/bin/python Executable = /opt/python/3.9.5/bin/python +[Quarto] +Enabled = true +Executable = /usr/local/bin/quarto + [Authentication] BasicAuth = true InsecureDefaultUserAPIKey = true From 06206dc4be795f1957bdd81a9dfff0319d3c457f Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Fri, 1 Dec 2023 09:22:55 -0500 Subject: [PATCH 22/27] fix python versions and add main workflow --- .github/workflows/deploy_tests.yml | 12 ++--- .github/workflows/main.yml | 86 ++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index c0c5124a..e4a64f91 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -7,7 +7,6 @@ on: workflow_dispatch: jobs: - distributions: runs-on: ubuntu-latest steps: @@ -36,8 +35,8 @@ jobs: fail-fast: false matrix: PY_VERSION: - - 3.8.18 - - 3.9.18 + - 3.8.10 + - 3.9.5 PYTHON_BUILD: [binary] steps: - uses: extractions/setup-just@v1 @@ -81,7 +80,7 @@ jobs: RSC_AUTOMATION_PAT: "${{ secrets.CONNECT_PAT }}" ADMIN_API_KEY: "${{ secrets.ADMIN_API_KEY }}" PYTHON_BUILD: "${{ matrix.PYTHON_BUILD }}" - REPO: "rsconnect-python" + # This allows us to start Connect separately in our own docker container CONNECT_SERVER: "http://localhost:3939" remote: "yes" @@ -91,11 +90,6 @@ jobs: docker compose up -d connect just ../test/connect-rsconnect-python/test/rsconnect-python/test-rsconnect-python-repo-${PYTHON_BUILD} - - name: Setup tmate session - if: ${{ failure() }} - uses: mxschmitt/action-tmate@v3 - with: - limit-access-to-actor: true # Videos are captured whether the suite fails or passes - name: Save videos uses: actions/upload-artifact@v3 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a1712df..b8e6f405 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -247,3 +247,89 @@ jobs: path: integration-testing/cypress/screenshots if-no-files-found: ignore retention-days: 1 + + test-connect: + needs: distributions + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + PY_VERSION: + - 3.8.10 + - 3.9.5 + PYTHON_BUILD: [binary] + steps: + - uses: extractions/setup-just@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # Checkout the rsconnect-python tests from Connect + - uses: actions/checkout@v4 + with: + repository: rstudio/connect + path: 'test/connect-rsconnect-python' + ref: kg-rsconnect-repo + sparse-checkout: | + test/rsconnect-python + scripts + examples + sparse-checkout-cone-mode: false + token: ${{ secrets.CONNECT_PAT }} + + - name: Build docker container-image + run: | + cd test/connect-rsconnect-python/test/rsconnect-python/ + docker-compose --profile rsconnect build + + - name: Restore dist + uses: actions/download-artifact@v3 + with: + name: distributions + path: dist/ + + - name: Run rsconnect-python Tests + env: + CONNECT_LICENSE: "${{ secrets.RSC_LICENSE }}" + PY_VERSION: ${{ matrix.PY_VERSION }} + TEST_SUBSET: "CI" + RSC_AUTOMATION_PAT: "${{ secrets.CONNECT_PAT }}" + ADMIN_API_KEY: "${{ secrets.ADMIN_API_KEY }}" + PYTHON_BUILD: "${{ matrix.PYTHON_BUILD }}" + + # This allows us to start Connect separately in our own docker container + CONNECT_SERVER: "http://localhost:3939" + remote: "yes" + run: | + cd integration-testing + docker compose pull connect + docker compose up -d connect + just ../test/connect-rsconnect-python/test/rsconnect-python/test-rsconnect-python-repo-${PYTHON_BUILD} + + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 + with: + limit-access-to-actor: true + # Videos are captured whether the suite fails or passes + - name: Save videos + uses: actions/upload-artifact@v3 + if: failure() + with: + name: cypress-videos_${{ matrix.PY_VERSION }}_native + path: test/connect-rsconnect-python/cypress/videos + if-no-files-found: ignore + + # Screenshots are only captured on failure + - name: Save screenshots + uses: actions/upload-artifact@v3 + if: failure() + with: + name: cypress-screenshots_${{ matrix.PY_VERSION }}_native + path: test/connect-rsconnect-python/cypress/screenshots + if-no-files-found: ignore + + From 90ac75813dbbc673a9c8c09b13f3e9e0fd736459 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Fri, 1 Dec 2023 09:56:48 -0500 Subject: [PATCH 23/27] fix quarto version --- .github/workflows/deploy_tests.yml | 4 ++-- .github/workflows/main.yml | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index e4a64f91..0cb86790 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -16,7 +16,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: 3.8.x - run: pip install -e '.[test]' @@ -52,7 +52,6 @@ jobs: with: repository: rstudio/connect path: 'test/connect-rsconnect-python' - ref: kg-rsconnect-repo sparse-checkout: | test/rsconnect-python scripts @@ -80,6 +79,7 @@ jobs: RSC_AUTOMATION_PAT: "${{ secrets.CONNECT_PAT }}" ADMIN_API_KEY: "${{ secrets.ADMIN_API_KEY }}" PYTHON_BUILD: "${{ matrix.PYTHON_BUILD }}" + QUARTO_VERSION: "1.3.340" # This allows us to start Connect separately in our own docker container CONNECT_SERVER: "http://localhost:3939" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b8e6f405..7a2a19fb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: fetch-depth: 0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - run: pip install '.[test]' @@ -55,7 +55,7 @@ jobs: fetch-depth: 0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: 3.8.x - run: pip install --pre '.[test]' @@ -74,7 +74,7 @@ jobs: fetch-depth: 0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: 3.8.x - run: pip install -e '.[test]' @@ -131,12 +131,12 @@ jobs: fetch-depth: 0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: 3.8.x - run: pip freeze - run: make docs - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: docs path: docs/site/ @@ -175,7 +175,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: 3.8 - name: Install dependencies @@ -272,7 +272,6 @@ jobs: with: repository: rstudio/connect path: 'test/connect-rsconnect-python' - ref: kg-rsconnect-repo sparse-checkout: | test/rsconnect-python scripts @@ -299,6 +298,7 @@ jobs: RSC_AUTOMATION_PAT: "${{ secrets.CONNECT_PAT }}" ADMIN_API_KEY: "${{ secrets.ADMIN_API_KEY }}" PYTHON_BUILD: "${{ matrix.PYTHON_BUILD }}" + QUARTO_VERSION: "1.3.340" # This allows us to start Connect separately in our own docker container CONNECT_SERVER: "http://localhost:3939" From 46e2eb821c9c27baa38f1e132564738442f432ee Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Fri, 1 Dec 2023 10:15:23 -0500 Subject: [PATCH 24/27] fix quarto version --- .github/workflows/deploy_tests.yml | 1 + .github/workflows/main.yml | 10 +++------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 0cb86790..89e0b353 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -52,6 +52,7 @@ jobs: with: repository: rstudio/connect path: 'test/connect-rsconnect-python' + ref: kg-rsconnect-repo sparse-checkout: | test/rsconnect-python scripts diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7a2a19fb..a4e090ad 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -81,7 +81,7 @@ jobs: - run: pip freeze - run: make dist id: create_dist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: distributions path: dist/ @@ -136,7 +136,7 @@ jobs: python-version: 3.8.x - run: pip freeze - run: make docs - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: name: docs path: docs/site/ @@ -272,6 +272,7 @@ jobs: with: repository: rstudio/connect path: 'test/connect-rsconnect-python' + ref: kg-rsconnect-repo sparse-checkout: | test/rsconnect-python scripts @@ -309,11 +310,6 @@ jobs: docker compose up -d connect just ../test/connect-rsconnect-python/test/rsconnect-python/test-rsconnect-python-repo-${PYTHON_BUILD} - - name: Setup tmate session - if: ${{ failure() }} - uses: mxschmitt/action-tmate@v3 - with: - limit-access-to-actor: true # Videos are captured whether the suite fails or passes - name: Save videos uses: actions/upload-artifact@v3 From c189fbee7a739ac2cb0c5fc1c1484d6cd368b62e Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Wed, 6 Dec 2023 11:45:44 -0500 Subject: [PATCH 25/27] run off default branch in Connect --- .github/workflows/deploy_tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 89e0b353..0cb86790 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -52,7 +52,6 @@ jobs: with: repository: rstudio/connect path: 'test/connect-rsconnect-python' - ref: kg-rsconnect-repo sparse-checkout: | test/rsconnect-python scripts From 1ff27c5d7c99b628056fd7405f13f4bac1fac68c Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Wed, 6 Dec 2023 11:46:22 -0500 Subject: [PATCH 26/27] only run on schedule --- .github/workflows/deploy_tests.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/deploy_tests.yml b/.github/workflows/deploy_tests.yml index 0cb86790..817504dc 100644 --- a/.github/workflows/deploy_tests.yml +++ b/.github/workflows/deploy_tests.yml @@ -1,7 +1,5 @@ name: rsconnect-python-tests-at-night on: - pull_request: - branches: [master] schedule: - cron: "0 09 * * *" # Runs 11 AM UTC == 2 AM PDT workflow_dispatch: From 23736872caedb83d01557e4f2200c904226b26a5 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Wed, 6 Dec 2023 14:51:03 -0500 Subject: [PATCH 27/27] remove ref --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a4e090ad..d1334640 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -272,7 +272,6 @@ jobs: with: repository: rstudio/connect path: 'test/connect-rsconnect-python' - ref: kg-rsconnect-repo sparse-checkout: | test/rsconnect-python scripts