Skip to content

Commit

Permalink
Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdez99 committed Oct 4, 2024
1 parent 2b69c19 commit 0f48882
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/CHARMS-RAS-Regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ jobs:
fetch-depth: 0

- name: Run specific runner class
shell: powershell
shell: bash
run: mvn -B -q -Dtest="ServiceNow.CHARMS.Runners.Run_CHARMS_RAS_Regression_Test" test
continue-on-error: true

- name: Generate timestamp
id: timestamp
shell: powershell
shell: bash
run: |
$timestamp = Get-Date -Format "yyyy-MM-dd_HH-mm-ss"
echo "timestamp=$timestamp" | Out-File -FilePath $env:GITHUB_ENV -Append
timestamp=$(date +"%Y-%m-%d_%H-%M-%S")
echo "timestamp=${timestamp}" >> $GITHUB_ENV
- name: Determine report path
id: reportpath
shell: powershell
run: echo "path=html-charms-rasopathy-regression-reports" | Out-File -FilePath $env:GITHUB_ENV -Append
shell: bash
run: echo "path=html-charms-rasopathy-regression-reports" >> $GITHUB_ENV

- name: Upload Cucumber Report
uses: actions/upload-artifact@v4
Expand All @@ -58,14 +58,8 @@ jobs:
name: CHARMS-RAS-REGRESSION-${{ env.timestamp }}
path: target/html-charms-rasopathy-regression-reports/*

- name: Install Python Requirements
shell: powershell
run: |
pip install requests
pip install requests_ntlm
- name: Upload to SharePoint
shell: powershell
shell: bash
run: python .github/scripts/upload_to_sharepoint.py
env:
file_path: target/html-charms-rasopathy-regression-reports/*
Expand Down

0 comments on commit 0f48882

Please sign in to comment.