workflows: let’s see if we can get test on push working

This commit is contained in:
alterNERDtive 2022-05-31 20:49:38 +02:00
parent c8e139fa14
commit 4f3f2e5896
3 changed files with 31 additions and 1 deletions

View file

@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v2
- name: Setup .Net
uses: actions/setup-dotnet@v1.1
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'

29
.github/workflows/push-test.yaml vendored Normal file
View file

@ -0,0 +1,29 @@
name: Run tests on push push
on:
push
jobs:
build:
name: Test EDNA
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Setup .Net
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c release
- name: Run tests
run: dotnet test

View file

@ -19,6 +19,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
CHANGELOG.md = CHANGELOG.md
.github\workflows\create-release.yaml = .github\workflows\create-release.yaml
Directory.build.props = Directory.build.props
.github\workflows\push-test.yaml = .github\workflows\push-test.yaml
README.md = README.md
stylecop.json = stylecop.json
EndProjectSection