Testing System looking for an error #7
Workflow file for this run
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
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: .NET | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./modelCsharp | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Install Python 3 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11.5 | |
- name: Install Python pandas | |
run: python -m pip install --upgrade pip pandas | |
- name: Create a temporary artifact downloads folder for graphs | |
run: mkdir graphs | |
- name: Install Python matplotlib | |
run: python -m pip install --upgrade pip matplotlib | |
- name: Install email | |
run: sudo apt-get install mailutils | |
- name: Install Python pyinstaller | |
run: python -m pip install --upgrade pip datetime | |
- name: Install Python datetime | |
run: pip install pyinstaller | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: run | |
run: dotnet run --project ConsoleAppSVS-test/ConsoleAppSVS-test.csproj | |
- name: run python | |
run: python TestModel/testGraph/testGraph/testGraph.py | |
- name: send a graph | |
run: mail -s "Graph" -A testplot.png [email protected] | |
- name: moving artfact to temp folder | |
run: | | |
mv testplot.png graphs | |
- name: list a folder | |
run: ls graphs | |
- name: Step 3 - Use the Upload Artifact GitHub Action | |
uses: actions/upload-artifact@v2 | |
with: | |
name: folder for graphs | |
path: ./modelCsharp/graphs | |