forked from ddrilling/AsbCloudServer
23 lines
529 B
YAML
23 lines
529 B
YAML
|
name: Unit tests
|
||
|
run-name: ${{ gitea.actor }} is testing
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- dev
|
||
|
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:
|
||
|
dotnet-version: 6.0.x
|
||
|
- name: Check out repository code
|
||
|
uses: actions/checkout@v4
|
||
|
- run: dotnet test AsbCloudWebApi.Tests
|
||
|
|