generated from SwissLife-OSS/template
-
Notifications
You must be signed in to change notification settings - Fork 18
40 lines (33 loc) · 872 Bytes
/
ci.yml
File metadata and controls
40 lines (33 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
run-name: CI ${{ github.event.pull_request.title }}
on:
pull_request:
concurrency:
group: ci-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8
9
10
- name: Docker Information
run: |
echo -e "\n\033[0;34mDocker System Info \033[0m"
docker system info
echo -e "\n\033[0;34mDocker Containers \033[0m"
docker ps -a
shell: bash
- name: Build projects
run: dotnet build ./all.csproj
shell: bash
- name: Run tests
run: dotnet test ./all.csproj /p:BuildTestsOnly=true
shell: bash