Пример запуска интеграционных тестов
Some checks failed
Unit tests / test (push) Failing after 49s

This commit is contained in:
Оля Бизюкова 2024-12-17 12:56:53 +05:00
parent ea584d5418
commit 6d53bca7b2

View File

@ -1,10 +1,11 @@
name: Gitea Actions Demo name: Unit tests
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 run-name: ${{ gitea.actor }} is testing
on: [push] on: [push]
jobs: jobs:
Explore-Gitea-Actions: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup dotnet - name: Setup dotnet
if: ${{ steps.cache-dotnet.outputs.cache-hit != 'true' }} if: ${{ steps.cache-dotnet.outputs.cache-hit != 'true' }}
@ -13,4 +14,7 @@ jobs:
dotnet-version: 8.0.x dotnet-version: 8.0.x
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- run: dotnet test DD.Persistence.IntegrationTests - 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