Skip to content

Run Tests

Run Tests #3

Workflow file for this run

name: Run Tests
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
workflow_dispatch:
workflow_call:
inputs:
test_data_branch:
type: string
description: The branch in sdk-test-data to target for testcase files
required: false
default: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: Eppo-exp/dot-net-server-sdk
ref: ${{ github.head_ref || github.ref_name || 'main' }}
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: make build
- name: Pull test data
run: make test-data
- name: Test
run: make test branchName=${{ github.event.inputs.test_data_branch || 'main' }}