-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing System looking for an error #13
Closed
Closed
Changes from 22 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
46d9c88
Take4
cb3b3a0
working action
407c205
new action
1103c81
changing a root directory for build
b7361a5
commit to testing system, instead of master
9ad8841
working directory - ./modelCsharp
dec0b36
Clean up redundant code
98d450e
check if it is still working
9c90eca
second try
357b8f0
third
9195f2a
Checking before start on config/fertil
9d49297
push to master
9aba6cd
no specified working directory
e7d6686
back to Testing system
76858ef
try on testing system
92f6228
testingSystem now
e0357fa
changed to master
3a07190
Action with Artifact
7df088a
ls folder
3e8257c
ls graphs
d79a487
mkdir graphs is moved above
d4909a7
path: ./modelCsharp/graphs
87486cc
Removing DLLs
0f4972e
Preview of graph in HTML
e571e38
Path is correct
41ab67e
Chanhed setting to gh-pages in SVS
6c0f296
Write permission exists
fbfa07c
permissions: contents: read,pages: write,id-token: write
97be7b1
permissions write-all
4d1f674
Sequence of jobs in action is changed
3d3ca1d
Added blank space just to rub GitHub page
0b2b34f
Fertiliser input.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,80 @@ | ||
# 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 | ||
|
||
|
||
|
||
|
||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,16 @@ | ||
| ||
using TestModel; | ||
using TestModel; | ||
|
||
Test.RunTests(TestConfigData.configDict); | ||
namespace ConsoleApp1 | ||
{ | ||
|
||
internal class Program | ||
{ | ||
/// <summary> | ||
/// The main entry point for the application. | ||
/// </summary> | ||
static void Main(string[] args) | ||
{ | ||
Test.RunTests(TestConfigData.configDict); | ||
} | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of .dll are comitted. Is this necessary? I thought dll's were binaries generated by the build system so did not need to be committed. Quite possible I am wrong here.