Skip to content

Merge pull request #82 from smartsheet/Docfx #286

Merge pull request #82 from smartsheet/Docfx

Merge pull request #82 from smartsheet/Docfx #286

Workflow file for this run

name: CI
on:
push:
branches: [ mainline ]
pull_request:
branches: [ mainline ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Setup .Net Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'
- name: Install Dependencies
run: dotnet restore
- name: Build
working-directory: ./
run: dotnet build --configuration Release --no-restore
- name: Clone smartsheet/smartsheet-sdk-tests PUBLIC repository
uses: GuillaumeFalourd/clone-github-repo-action@v2
with:
owner: 'smartsheet'
repository: 'smartsheet-sdk-tests'
- name: Setup Mock API
run: |
smartsheet-sdk-tests/ci_scripts/install_wiremock.sh
smartsheet-sdk-tests/ci_scripts/start_wiremock.sh
- name: Run Mock API Tests
working-directory: ./mock-api-test-sdk-net80
run: |
dotnet test --no-restore