-
Notifications
You must be signed in to change notification settings - Fork 8
51 lines (48 loc) · 1.66 KB
/
CI.yml
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
41
42
43
44
45
46
47
48
49
50
51
name: Continuous-Integration
on:
push:
branches:
- main
workflow_dispatch: ~
jobs:
build:
name: Create Testing Artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Archive Testing artifacts - API
uses: actions/upload-artifact@v4
with:
name: testing-artifact-api
path: |
${{ github.workspace }}/samples/TestWare.Samples.API/bin/Release/net6.0
- name: Archive Testing artifacts - Appium Mobile
uses: actions/upload-artifact@v4
with:
name: testing-artifact-appium-mobile
path: |
${{ github.workspace }}/samples/TestWare.Samples.Appium.Mobile/bin/Release/net6.0
- name: Archive Testing artifacts - Selenium Web
uses: actions/upload-artifact@v4
with:
name: testing-artifact-selenium-web
path: |
${{ github.workspace }}/samples/TestWare.Samples.Selenium.Web/bin/Release/net6.0
- name: Archive Testing artifacts - WinAppDriver
uses: actions/upload-artifact@v4
with:
name: testing-artifact-winappdriver
path: |
${{ github.workspace }}/samples/TestWare.Samples.WinAppDriver/bin/Release/net6.0
sonar-scanner:
uses: ./.github/workflows/Sonar_Scanner.yml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}