DD.WellWorkover.Cloud/.gitea/workflows/unit-tests.yaml

22 lines
766 B
YAML
Raw Permalink Normal View History

2024-01-16 11:33:03 +05:00
name: Unit tests
run-name: ${{ gitea.actor }} is testing
on:
pull_request:
types: [review_requested, ready_for_review]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup dotnet
if: ${{ steps.cache-dotnet.outputs.cache-hit != 'true' }}
uses: actions/setup-dotnet@v4
with:
2024-02-28 09:27:51 +05:00
dotnet-version: 8.0.x
2024-01-16 11:33:03 +05:00
- name: Check out repository code
uses: actions/checkout@v4
2024-01-16 14:48:44 +05:00
- 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
2024-08-19 13:22:25 +05:00
- run: dotnet test AsbCloudInfrastructure.Tests
2024-01-16 11:33:03 +05:00