| 12345678910111213141516171819202122232425262728293031 |
- name: Native WebView
- on:
- workflow_dispatch:
- push:
- pull_request:
- jobs:
- native:
- strategy:
- fail-fast: false
- matrix:
- os: [windows-latest, macos-latest]
- runs-on: ${{ matrix.os }}
- timeout-minutes: 15
- steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-go@v5
- with:
- go-version: '1.25.0'
- cache: false
- - name: Unit tests
- env:
- CGO_ENABLED: '0'
- CFBROWSER_INTEGRATION: '0'
- run: go test -buildvcs=false -mod=vendor ./... -count=1 -timeout=120s
- - name: Windows native runtime tests
- if: runner.os == 'Windows'
- shell: pwsh
- run: ./scripts/test-native.ps1
- - name: macOS native runtime tests
- if: runner.os == 'macOS'
- run: sh scripts/test-native.sh
|