chore: Update integration test project setup instructions. #298
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
name: Continuous Integration | |
on: pull_request | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
env: | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
DOTNET_NOLOGO: 1 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v1 | |
- name: Setup .NET Core 2.1 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 2.1.x | |
- name: Install dependencies | |
run: dotnet msbuild /t:restore FirebaseAdmin | |
- name: Build with dotnet | |
run: | | |
dotnet msbuild FirebaseAdmin/FirebaseAdmin | |
dotnet msbuild FirebaseAdmin/FirebaseAdmin.Snippets | |
dotnet msbuild FirebaseAdmin/FirebaseAdmin.IntegrationTests | |
- name: Run unit tests | |
run: dotnet test FirebaseAdmin/FirebaseAdmin.Tests |