Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/testing proxy #89

Merged
merged 6 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/proxy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 🧪 Test Proxy
name: 🧪 WinTuner proxy
on:
workflow_dispatch:
schedule:
Expand All @@ -11,6 +11,9 @@ jobs:
name: ✅ Check proxy
runs-on: ubuntu-latest
steps:
- name: 👨‍💻 Check-out code
uses: actions/checkout@v4

- name: 📦 Install Pester
shell: pwsh
run: Install-Module -Name Pester -Force -SkipPublisherCheck -Scope CurrentUser
Expand All @@ -21,8 +24,8 @@ jobs:
Import-Module Pester
$pesterConfig = [PesterConfiguration]@{
Output = @{
Verbosity = "Normal"
CIFormat = "Auto"
Verbosity = "Detailed"
CIFormat = "GithubActions"
StackTraceVerbosity = "FirstLine"
}
TestResult = @{
Expand All @@ -39,9 +42,14 @@ jobs:
}
}
Invoke-Pester -Configuration $pesterConfig
env:
WINTUNER_PROXY_CODE: ${{ secrets.WINTUNER_PROXY_TOKEN }}

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: ${{ github.workspace }}/testresults/*.xml
check_run: false
job_summary: true
compare_to_earlier_commit: false
3 changes: 1 addition & 2 deletions tests/WinTuner.Proxy.Tests/run.ps1
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
$pesterConfig = [PesterConfiguration]@{
Output = @{
Verbosity = "Normal"
Verbosity = "Detailed"
CIFormat = "Auto"
StackTraceVerbosity = "FirstLine"
}
OutputFormat = "NUnitXML"
TestResult = @{
Enabled = $true
OutputPath = "TestResults.xml"
Expand Down