Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
angelovstanton committed Jul 22, 2024
2 parents 5b9729f + df48f93 commit 5278754
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 3 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: .NET

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Change Folder
run: cd dotnet/AutomationTools-Series/GithubActions/
- name: Test
run: dotnet test GithubActions.csproj --configuration Release --logger "trx;LogFileName=testresults.trx" --results-directory ./TestResults
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
with:
testResultsPath: '**/TestResults/*.trx'
27 changes: 27 additions & 0 deletions .github/workflows/github-actions-demo-dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: WebDriver C# Project Tests

on:
workflow_dispatch:

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.x' # Specify the desired .NET version

- name: Build and test
run:|
cd dotnet/AutomationTools-Series/GithubActions/
dotnet GithubActions.csproj --configuration Release --logger "trx;LogFileName=testresults.trx" --results-directory ./TestResults

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
with:
testResultsPath: '**/TestResults/*.trx'
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ This way, you will have a **bookmark for easier access** and you will **show app
- [Mobile Automation Series](https://github.com/AutomateThePlanet/AutomateThePlanet-Learning-Series/tree/master/dotnet/MobileAutomation-Series "Mobile Automation Series")
- [Desktop Automation Series](https://github.com/AutomateThePlanet/AutomateThePlanet-Learning-Series/tree/master/dotnet/DesktopAutomation-Series "Desktop Automation Series")
- [Automation Tools Series](https://github.com/AutomateThePlanet/AutomateThePlanet-Learning-Series/tree/master/dotnet/AutomationTools-Series "Automation Tools Series")
- [Development Series](https://github.com/angelovstanton/AutomateThePlanet/tree/master/CSharp-Series "Development Series")
- [Development Series](https://github.com/AutomateThePlanet/AutomateThePlanet-Learning-Series/tree/master/dotnet/Development-Series "Development Series")

# Java Series #

- [Design & Architecture Series](https://github.com/AutomateThePlanet/AutomateThePlanet-Learning-Series/tree/master/java/DesignPatternsInAutomatedTestingJava-Series "Design & Architecture Series")
- [Web Automation Series](https://github.com/AutomateThePlanet/AutomateThePlanet-Learning-Series/tree/master/java/WebDriverJava-Series "Web Automation Series")
- [Design & Architecture Series](https://github.com/AutomateThePlanet/AutomateThePlanet-Learning-Series/tree/master/java/Design-Architecture-Series "Design & Architecture Series")
- [Web Automation Series](https://github.com/AutomateThePlanet/AutomateThePlanet-Learning-Series/tree/master/java/WebAutomation-Series "Web Automation Series")
- [Mobile Automation Series](https://github.com/AutomateThePlanet/AutomateThePlanet-Learning-Series/tree/master/java/MobileAutomation-Series "Mobile Automation Series")
- [Automation Tools Series](https://github.com/AutomateThePlanet/AutomateThePlanet-Learning-Series/tree/master/java/AutomationTools-Series "Automation Tools Series")

Under each folder, you will find a separate solution file. Every article from the series has its folder and an info file. To run the examples from particular series you need only its folder.

Expand Down

0 comments on commit 5278754

Please sign in to comment.