ci: update with-connect to use latest release naming #1115
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| name: integration-tests | |
| jobs: | |
| integration-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: | |
| - "release" # special value that always points to the latest Connect release | |
| - "2025.09.0" # jammy | |
| - "2025.03.0" # jammy | |
| - "2024.09.0" # jammy | |
| - "2024.03.0" # jammy | |
| - "2023.09.0" # jammy | |
| - "2023.03.0" # bionic | |
| - "2022.10.0" # bionic | |
| name: Connect ${{ matrix.version }} | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: r-lib/actions/setup-r@v2 | |
| with: | |
| use-public-rspm: true | |
| - uses: r-lib/actions/setup-r-dependencies@v2 | |
| with: | |
| extra-packages: local::. | |
| - name: Session info | |
| run: | | |
| options(width = 100) | |
| pkgs <- installed.packages()[, "Package"] | |
| sessioninfo::session_info(pkgs, include_base = TRUE) | |
| shell: Rscript {0} | |
| - name: Run integration tests | |
| uses: posit-dev/with-connect@main | |
| env: | |
| CONNECTAPI_INTEGRATED: "true" | |
| with: | |
| version: ${{ matrix.version }} | |
| license: ${{ secrets.CONNECT_LICENSE_FILE }} | |
| command: | | |
| Rscript -e 'source("tests/test-integrated.R")' |