Skip to content

Add tests for Customer endpoint #2

Add tests for Customer endpoint

Add tests for Customer endpoint #2

Workflow file for this run

name: Sample App Tests
on:
pull_request:
paths:
- '**/*.cs'
- '**/*.csproj'
- '**/*.sln'
jobs:
dotnet-test:
runs-on: ubuntu-22.04
strategy:
matrix:
dotnet-version: [ '8.0.x' ]
services:
fauna:
image: fauna/faunadb
ports:
- 8443:8443
steps:
- uses: actions/checkout@v4
- name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install Fauna CLI
run: npm install -g fauna-shell
- name: Push schema
run: fauna schema push --url http://localhost:8443 --secret secret
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal