-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
3 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 |
---|---|---|
|
@@ -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 | ||
|
@@ -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] | ||
|