Skip to content

Merge pull request #505 from ipax77/dev #1029

Merge pull request #505 from ipax77/dev

Merge pull request #505 from ipax77/dev #1029

Workflow file for this run

name: Dsstats Tests
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
tests:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create config
run: |
sudo mkdir -p /data/mysqlfiles \
&& sudo mkdir -p /data/temp \
&& sudo mkdir -p /data/ds/replayblobs \
&& sudo chmod 777 /data/mysqlfiles \
&& sudo chmod 777 /data/temp \
&& sudo chmod 777 /data/ds/replayblobs \
&& sudo cp ./src/tests/appsettings.Development.json /data/localserverconfig.json
- uses: isbang/[email protected]
with:
compose-file: "./src/tests/docker/docker-compose.yml"
services: mysql
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- run: dotnet build ./src/tests/dsstats.ratings.tests/dsstats.ratings.tests.csproj
- name: Run your tests
run: dotnet test ./src/tests/dsstats.ratings.tests/dsstats.ratings.tests.csproj --no-build