Skip to content

Analytics: Fix eparch game build check #193

Analytics: Fix eparch game build check

Analytics: Fix eparch game build check #193

Workflow file for this run

name: Main log test suite
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
# This is a workaround for issue https://github.com/actions/virtual-environments/issues/1090,
# which causes to nuget restores to fail
- name: Clean NuGet cache
run: dotnet nuget locals all --clear
- name: Build
run: dotnet build --configuration Release Tests/EVTCAnalytics.LogTests.LocalSets
- name: Download log suite
run: |
wget -m -np -c -U "wget-gh-actions-evtc" -R "index.html*" "https://datasets.gw2scratch.com/datasets/main-suite/"
mv datasets.gw2scratch.com/datasets/main-suite suite-logs
cp Tests/EVTCAnalytics.LogTests.LocalSets/main-suite.toml suite-logs/main-suite.toml
- name: Test
run: dotnet run --configuration Release --project Tests/EVTCAnalytics.LogTests.LocalSets --local suite-logs/main-suite.toml