@@ -6,10 +6,13 @@ name: Tests
66 - opened
77 - synchronize
88 - reopened
9+ branches :
10+ # Branches from forks have the form 'user:branch-name'
11+ - ' **:**'
912
1013jobs :
1114 prepare-commit-msg :
12- name : Retrive head commit message
15+ name : Retrieve head commit message
1316 runs-on : ubuntu-latest
1417 outputs :
1518 HEAD_COMMIT_MSG : ' ${{ steps.commitMsg.outputs.HEAD_COMMIT_MSG }}'
@@ -110,60 +113,60 @@ jobs:
110113 env :
111114 COVERAGE : 1
112115 steps :
113- - name : Cache Growl Installer (Windows)
114- if : " ${{ matrix.os == 'windows-2019' }}"
115- id : cache-growl
116- uses : actions/cache@v2
117- with :
118- path : GrowlInstaller
119- key : ' ${{ runner.os }}-growl-installer'
120- restore-keys : |
121- ${{ runner.os }}-growl-installer
122- - name : Download Growl Installer (Windows)
123- if : " ${{ matrix.os == 'windows-2019' && steps.cache-growl.outputs.cache-hit != 'true'}}"
124- run : >
125- echo "Downloading Growl installer..."
116+ # - name: Cache Growl Installer (Windows)
117+ # if: "${{ matrix.os == 'windows-2019' }}"
118+ # id: cache-growl
119+ # uses: actions/cache@v2
120+ # with:
121+ # path: GrowlInstaller
122+ # key: '${{ runner.os }}-growl-installer'
123+ # restore-keys: |
124+ # ${{ runner.os }}-growl-installer
125+ # - name: Download Growl Installer (Windows)
126+ # if: "${{ matrix.os == 'windows-2019' && steps.cache-growl.outputs.cache-hit != 'true'}}"
127+ # run: >
128+ # echo "Downloading Growl installer..."
126129
127- mkdir GrowlInstaller | out-null
130+ # mkdir GrowlInstaller | out-null
128131
129- $seaURL =
130- "https://github.com/briandunnington/growl-for-windows/releases/download/final/GrowlInstaller.exe"
132+ # $seaURL =
133+ # "https://github.com/briandunnington/growl-for-windows/releases/download/final/GrowlInstaller.exe"
131134
132- $seaPath = "GrowlInstaller\GrowlInstaller.exe"
135+ # $seaPath = "GrowlInstaller\GrowlInstaller.exe"
133136
134- $webclient = New-Object Net.WebClient
137+ # $webclient = New-Object Net.WebClient
135138
136- $webclient.DownloadFile($seaURL, $seaPath)
139+ # $webclient.DownloadFile($seaURL, $seaPath)
137140
138- 7z x $seaPath -oGrowlInstaller | out-null
141+ # 7z x $seaPath -oGrowlInstaller | out-null
139142
140- echo "Done."
141- - name : Retrieve Growl Installer (Windows)
142- if : " ${{ matrix.os == 'windows-2019' }}"
143- uses : actions/cache@v2
144- with :
145- path : GrowlInstaller
146- key : ' ${{ runner.os }}-growl-installer'
147- restore-keys : |
148- ${{ runner.os }}-growl-installer
149- - name : Add Growl Installer to Path (Windows)
150- if : " ${{ matrix.os == 'windows-2019' }}"
151- run : ' echo "C:\Program Files (x86)\Growl for Windows" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8'
152- - name : Install Growl
153- if : " ${{ matrix.os == 'windows-2019' }}"
154- run : |
155- echo "Installing Growl..."
156- cmd /c start /wait msiexec /i GrowlInstaller\Growl_v2.0.msi /quiet
157- echo "Done."
158- - name : Start Growl Service (Windows)
159- if : " ${{ matrix.os == 'windows-2019' }}"
160- run : |
161- echo "Starting Growl service..."
162- Start-Process -NoNewWindow Growl
163- ## Growl requires some time before it's ready to handle notifications
164- echo "Verifying Growl responding"
165- Start-Sleep -s 10
166- growlnotify test
143+ # echo "Done."
144+ # - name: Retrieve Growl Installer (Windows)
145+ # if: "${{ matrix.os == 'windows-2019' }}"
146+ # uses: actions/cache@v2
147+ # with:
148+ # path: GrowlInstaller
149+ # key: '${{ runner.os }}-growl-installer'
150+ # restore-keys: |
151+ # ${{ runner.os }}-growl-installer
152+ # - name: Add Growl Installer to Path (Windows)
153+ # if: "${{ matrix.os == 'windows-2019' }}"
154+ # run: 'echo "C:\Program Files (x86)\Growl for Windows" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8'
155+ # - name: Install Growl
156+ # if: "${{ matrix.os == 'windows-2019' }}"
157+ # run: |
158+ # echo "Installing Growl..."
159+ # cmd /c start /wait msiexec /i GrowlInstaller\Growl_v2.0.msi /quiet
160+ # echo "Done."
161+ # - name: Start Growl Service (Windows)
162+ # if: "${{ matrix.os == 'windows-2019' }}"
163+ # run: |
164+ # echo "Starting Growl service..."
165+ # Start-Process -NoNewWindow Growl
166+ # ## Growl requires some time before it's ready to handle notifications
167+ # echo "Verifying Growl responding"
168+ # Start-Sleep -s 10
169+ # growlnotify test
167170 - name : Install libnotify-bin (Linux)
168171 if : " ${{ matrix.os == 'ubuntu-latest' }}"
169172 run : sudo apt-get install libnotify-bin
@@ -202,6 +205,7 @@ jobs:
202205 # TODO: configure to retain build artifacts in `.karma/` dir
203206 name : ' Browser Tests'
204207 needs : smoke
208+ timeout-minutes : 20
205209 runs-on : ubuntu-latest
206210 steps :
207211 - uses : actions/setup-node@v1
0 commit comments