We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35db994 commit 68e08d6Copy full SHA for 68e08d6
.github/workflows/tests.yml
@@ -4,17 +4,16 @@ on:
4
branches:
5
- master
6
pull_request:
7
+ types: [opened, synchronize, reopened, labeled]
8
9
jobs:
10
tests:
11
name: Tests
-
12
strategy:
13
fail-fast: false
14
matrix:
15
gemfile: [capybara-3.x, websocket-driver-6.x, ferrum-master]
16
ruby: [2.6, 2.7, 3.0]
17
18
runs-on: ubuntu-latest
19
env:
20
FERRUM_PROCESS_TIMEOUT: 20
@@ -39,6 +38,11 @@ jobs:
39
38
40
- name: Run tests
41
run: bundle exec rake
+ if: |
42
+ github.event.pull_request.draft == false ||
43
+ (github.event.pull_request.draft == true &&
44
+ contains(github.event.pull_request.labels.*.name, 'master') &&
45
+ matrix.gemfile == 'ferrum-master')
46
47
- name: Archive artifacts
48
uses: actions/upload-artifact@v2
0 commit comments