Update GitHub actions tests to support PRs from forks #940
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will test if running the integration tests works. | |
name: .NET Integration Tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 9.0.x | |
- name: Install dependencies | |
run: dotnet workload install wasm-tools | |
- name: Build | |
run: dotnet build | |
- name: Start dev database | |
run: ./install.sh configure-dev-db start | |
- name: Run integration tests | |
run: dotnet test src/Tests/AliasVault.IntegrationTests --no-build --verbosity normal |