Skip to content

Commit

Permalink
Merge pull request #967 from City-of-Helsinki/UHF-9956
Browse files Browse the repository at this point in the history
UHF-9956: Queue visual regression tests, skip draft pull requests
  • Loading branch information
tuutti authored Apr 18, 2024
2 parents 847b61f + 3a3ec6a commit 38297cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/pr-close-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
pull_request:
types: [closed]

concurrency:
group: visual-regression

jobs:
delete_folder:
runs-on: ubuntu-latest
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/visual.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
pull_request:
types: [opened, reopened, synchronize]
types: [opened, reopened, synchronize, ready_for_review]
branches-ignore:
- 'renovate/**'
push:
Expand All @@ -9,8 +9,13 @@ on:
env:
SIMPLETEST_DB: mysql://drupal:drupal@db:3306/drupal
name: Visual regression tests

concurrency:
group: visual-regression

jobs:
tests:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 38297cf

Please sign in to comment.