Skip to content

Try running tests in CI #1

Try running tests in CI

Try running tests in CI #1

name: 🧪 Integration tests

Check failure on line 1 in .github/workflows/test_integration.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test_integration.yml

Invalid workflow file

(Line: 12, Col: 14): Expected mapping end, (Line: 11, Col: 5): Expected mapping end, (Line: 10, Col: 3): Expected mapping end, (Line: 1, Col: 1): Expected mapping end, expected document end
on:
workflow_call:
permissions:
contents: read
jobs:
test-android:
name: Test {{matrix.platform}}
runs-on: { { matrix.runner } }
strategy:
fail-fast: false
matrix:
include:
- platform: Linux
runner: ubuntu-latest
- platform: Windows
runner: windows-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: false # don't initialize submodules automatically
- name: Prepare testing
uses: ./.github/actions/prepare-testing
timeout-minutes: 15
with:
arch: x86_64
android: ${{ matrix.platform == 'Android' && 'true' || 'false' }}
- name: Install Pester module for pwsh
shell: pwsh
run: Install-Module -Name Pester -Force -SkipPublisherCheck
- name: Run integration tests locally
shell: pwsh
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_API_TOKEN }}
SENTRY_TEST_PLATFORM: ${{ matrix.platform }}
run: Invoke-Pester -Script integration_tests/Integration.Tests.ps1