-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PERF-318] Run Pipeclean Test on github Actions (#96)
* Pipeclean Test on VM * cleanup code * rename the action name * comments solved * workflow permissions update for PERF-324 --------- Co-authored-by: Vinaya Mayya <[email protected]>
- Loading branch information
1 parent
9fcf489
commit d9480e3
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Licensed to the Ed-Fi Alliance under one or more agreements. | ||
# The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. | ||
# See the LICENSE and NOTICES files in the project root for more information. | ||
|
||
name: Run Pipeclean Test | ||
on: | ||
workflow_dispatch: | ||
|
||
permissions: read-all | ||
|
||
env: | ||
AzureTestVmUsername: ${{ secrets.AZURE_TEST_VM_USER_NAME }} | ||
AzureTestVmPassword: ${{ secrets.AZURE_TEST_VM_PASSWORD }} | ||
|
||
jobs: | ||
pipeclean-test: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
|
||
- name: Execute Test Runner | ||
if: ${{ env.AzureTestVmUsername != '' && env.AzureTestVmPassword != '' }} | ||
shell: powershell | ||
working-directory: ./eng/ | ||
run: | | ||
. $env:GITHUB_WORKSPACE/eng/AzureTestLab.ps1 | ||
Invoke-TestRunnerFromTeamCity pipeclean | ||
- name: Upload Package | ||
if: success() | ||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 | ||
with: | ||
name: TestResults | ||
path: ${{ github.workspace }}/eng/artifacts/ |