Skip to content

Commit

Permalink
Some maintenance on GH actions (#836)
Browse files Browse the repository at this point in the history
* Update lock so it doesn't fail so much

* Skip webfakes test with covr

* Update to new docker compose syntax

* Oops missed one
  • Loading branch information
juliasilge authored Aug 2, 2024
1 parent de47c31 commit 21e5e4e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,17 @@ jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
- uses: dessant/lock-threads@v5
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '14'
# issue-exclude-labels: ''
# issue-lock-labels: 'outdated'
issue-lock-comment: >
issue-inactive-days: '14'
issue-comment: >
This issue has been automatically locked. If you believe you have
found a related problem, please file a new issue (with a reprex:
<https://reprex.tidyverse.org>) and link to this issue.
issue-lock-reason: ''
pr-lock-inactive-days: '14'
# pr-exclude-labels: 'wip'
pr-lock-labels: ''
pr-lock-comment: >
pr-inactive-days: '14'
pr-comment: >
This pull request has been automatically locked. If you believe you
have found a related problem, please file a new issue (with a reprex:
<https://reprex.tidyverse.org>) and link to this issue.
pr-lock-reason: ''
# process-only: 'issues'
8 changes: 4 additions & 4 deletions .github/workflows/posit-connect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
RSC_LICENSE: ${{ secrets.RSC_LICENSE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: run Connect
run: docker-compose up -d --build
run: docker compose up -d --build

- uses: r-lib/actions/setup-r@v2
with:
Expand All @@ -33,7 +33,7 @@ jobs:
- name: create Connect users
run: |
curl -s --retry 10 --retry-connrefused http://localhost:3939
docker-compose exec -T rsconnect bash < .github/setup-connect/add-users.sh
docker compose exec -T rsconnect bash < .github/setup-connect/add-users.sh
- name: initialize Connect users
shell: Rscript {0}
Expand All @@ -59,5 +59,5 @@ jobs:
- name: shutdown Posit Connect
if: always()
run: |
docker-compose down
docker compose down
1 change: 1 addition & 0 deletions tests/testthat/test-board_url.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
skip_if_not_installed("webfakes")
skip_on_cran()
skip_on_covr()

httpbin <- local_httpbin_app()
httpbin_port <- httpbin$get_port()
Expand Down

0 comments on commit 21e5e4e

Please sign in to comment.