Skip to content

update readme and push for public access #25

update readme and push for public access

update readme and push for public access #25

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Build_and_Test:
env:
BUILD_CONFIG: 'Release'
SOLUTION: 'Solution1/UnitTest.sln'
runs-on: ubuntu-latest
permissions:
issues: write
contents: write
actions: write
checks: write
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x
- name: Setup Chrome-Browser
uses: browser-actions/setup-chrome@v1
with:
# Optional: do not specify to match Chrome's version
chrome-version: '125'
- name: Setup Chrome-driver
uses: nanasess/setup-chromedriver@v2
with:
# Optional: do not specify to match Chrome's version
chromedriver-version: '125.0.6422.14100'
- name: Restore dependencies
run: dotnet restore $SOLUTION
- name: Run Test
run: dotnet test $SOLUTION --configuration $BUILD_CONFIG --logger "trx;LogFileName=test-results.trx" || true
- name: Test Report
uses: dorny/test-reporter@v1
if: always()
with:
name: Test Report
path: "**/test-results.trx"
reporter: dotnet-trx
fail-on-error: true
- name: Build Project
run: dotnet build $SOLUTION --configuration $BUILD_CONFIG