Skip to content

Commit

Permalink
Update validation-tests.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JBris authored May 21, 2024
1 parent c5ab7c9 commit 5833460
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/validation-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ jobs:
- name: Build
run: dotnet build --no-restore

- name: Run Tests
- name: Run tests
run: |
source .venv/bin/activate
dotnet run --project TestConsole/TestsConsole.csproj
- name: Run Report Generator
- name: Run report generator
run: |
source .venv/bin/activate
python TestGraphs/report.py
Expand All @@ -72,7 +72,19 @@ jobs:
id: date
run: |
echo "{date}={$(date +'%Y-%m-%d')}" >> $GITHUB_ENV
- name: Zip file
if: github.event_name == 'pull_request'
run: |
zip validation_report.zip html -r
- name: Upload validation report
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: validation_report
path: validation_report.zip

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
Expand Down

0 comments on commit 5833460

Please sign in to comment.