Skip to content

Bump MaxMind.GeoIP2.UnitTests/TestData/MaxMind-DB from f387805 to 7ef0ff7 #1707

Bump MaxMind.GeoIP2.UnitTests/TestData/MaxMind-DB from f387805 to 7ef0ff7

Bump MaxMind.GeoIP2.UnitTests/TestData/MaxMind-DB from f387805 to 7ef0ff7 #1707

Workflow file for this run

name: Run tests
on:
push:
pull_request:
schedule:
- cron: "3 20 * * SUN"
permissions: {}
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
name: Dotnet on ${{ matrix.platform }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: true
persist-credentials: false
- name: Setup .NET
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: |
8.0.x
9.0.x
10.0.x
- name: Build
run: dotnet build
- name: Run benchmark
run:
dotnet run -f net8.0 -p
MaxMind.GeoIP2.Benchmark/MaxMind.GeoIP2.Benchmark.csproj
env:
MAXMIND_BENCHMARK_DB:
${{ github.workspace
}}/MaxMind.GeoIP2.UnitTests/TestData/MaxMind-DB/test-data/GeoIP2-City-Test.mmdb
- name: Run tests
run: dotnet test
env:
MAXMIND_TEST_BASE_DIR:
${{ github.workspace }}/MaxMind.GeoIP2.UnitTests