Skip to content

Continuous-Integration #191

Continuous-Integration

Continuous-Integration #191

Workflow file for this run

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@v2
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@v2
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@v2
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@v2
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 }}