mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Skip Go tests on sponsor image PRs
This commit is contained in:
parent
2936e8b98e
commit
b3bb856ed1
1 changed files with 14 additions and 2 deletions
16
.github/workflows/pr-master.yml
vendored
16
.github/workflows/pr-master.yml
vendored
|
|
@ -59,10 +59,10 @@ jobs:
|
|||
name: Run Go Tests
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: >
|
||||
github.event.pull_request.head.ref != 'update-sponsors' &&
|
||||
github.event.review.state == 'approved' &&
|
||||
github.repository == 'wailsapp/wails' &&
|
||||
github.base_ref == 'master' &&
|
||||
github.head_ref != 'update-sponsors'
|
||||
github.base_ref == 'master'
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-22.04, windows-latest, macos-latest, ubuntu-24.04]
|
||||
|
|
@ -101,3 +101,15 @@ jobs:
|
|||
if: matrix.os == 'ubuntu-24.04'
|
||||
working-directory: ./v2
|
||||
run: go test -v -tags webkit2_41 ./...
|
||||
|
||||
# This job will run instead of test_go for the update-sponsors branch
|
||||
skip_tests:
|
||||
name: Skip Tests (Sponsor Update)
|
||||
if: github.event.pull_request.head.ref == 'update-sponsors'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Skip tests for sponsor updates
|
||||
run: |
|
||||
echo "Skipping tests for sponsor update branch"
|
||||
echo "This is an automated update of the sponsors image."
|
||||
continue-on-error: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue