xworkmate-app/.github/workflows/pr-tests.yml

49 lines
1.1 KiB
YAML

name: PR Layered Tests
on:
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: pr-tests-${{ github.ref }}
cancel-in-progress: true
env:
FLUTTER_VERSION: 3.41.4
jobs:
flutter-pr-layer:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- name: Setup Flutter
uses: ./.github/actions/setup-flutter-sdk
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: Install Linux deps
run: bash ./scripts/ci/setup_platform_deps.sh linux
- name: Run Flutter PR layered tests
run: bash ./scripts/ci/run_layered_tests.sh pr
go-unit:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- name: Setup Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff
with:
go-version: '1.25.0'
- name: Run Go unit tests
run: cd go/go_core && go test ./...