Skip to content

Support BsonDictionaryOptions on F# maps #8

Support BsonDictionaryOptions on F# maps

Support BsonDictionaryOptions on F# maps #8

Workflow file for this run

name: CI PR
on:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- ready_for_review
permissions:
contents: read
checks: write
pull-requests: write
jobs:
build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Enforce unreleased changelog updates
env:
REQUIRE_CHANGELOG_ALWAYS: "true"
run: .github/scripts/check-unreleased-changelog.sh
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.301
- name: Restore
run: dotnet restore FSharp.MongoDB.sln
- name: Build
run: dotnet build FSharp.MongoDB.sln --configuration Release --no-restore
- name: Test
run: dotnet test FSharp.MongoDB.sln --configuration Release --no-build --logger "trx" --results-directory TestResults
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results-pr
path: TestResults/**/*.trx
if-no-files-found: warn
- name: Publish test report
if: (!cancelled())
continue-on-error: true
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: TestResults/**/*.trx
check_name: Test Results (PR)
comment_title: Test Results (PR)
comment_mode: always
job_summary: true