persistence/.gitea/workflows/test.yaml
Оля Бизюкова 6d53bca7b2
Some checks failed
Unit tests / test (push) Failing after 49s
Пример запуска интеграционных тестов
2024-12-17 12:56:53 +05:00

20 lines
716 B
YAML

name: Unit tests
run-name: ${{ gitea.actor }} is testing
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup dotnet
if: ${{ steps.cache-dotnet.outputs.cache-hit != 'true' }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Check out repository code
uses: actions/checkout@v4
- name: Add gitea as nuget source
run: dotnet nuget add source --name gitea --username publisher --password ${{ secrets.PUBLISHER_PASSWORD }} --store-password-in-clear-text http://test.digitaldrilling.ru:8080/api/packages/DDrilling/nuget/index.json
- run: dotnet test DD.Persistence.IntegrationTests