Publish all Allure results to pages #215
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |