Skip to content
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 #22

Merged
merged 17 commits into from
Nov 16, 2023
33 changes: 26 additions & 7 deletions .github/workflows/ubuntodotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@

name: .NET

on: pull_request_target
#on: pull_request_target

on:
pull_request_target:
branches: [ "TestRuns" ]

jobs:

build:

runs-on: ubuntu-latest
Expand All @@ -32,11 +37,25 @@ jobs:
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.6
python-version: 3.11.6



- name: GIT commit and push docs
env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "[email protected]"
git add docs
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
git push TestRuns


#installing packages
- name: Install Python pandas
Expand All @@ -58,10 +77,7 @@ jobs:

- name: Build
run: dotnet build --no-restore

- name: ls
run: ls -a


- name: run
run: dotnet run --project ConsoleAppSVS-test/ConsoleAppSVS-test.csproj

Expand Down Expand Up @@ -93,3 +109,6 @@ jobs:
- name: Override page_url
id: change-page-url
run: echo "new_page_url=${{ steps.deployment.outputs.page_url }}index.html" >> $GITHUB_OUTPUT

- name: ls
run: ls -a
3 changes: 2 additions & 1 deletion modelCsharp/TestModel/testGraph/testGraph/testGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def make_observed(observed):
makeplot(Data,color)
make_observed(observed_data[datefilter])
Graph.tight_layout(pad=1.5)
Graph.suptitle('DRAFT VERSION',fontsize = 32, color = "r")
Graph.suptitle('DRAFT VERSION',fontsize = 32, color = "b")

pos+=1

Expand All @@ -134,6 +134,7 @@ def make_observed(observed):

plt.show()


#shutil.rmtree(path+"\\OutputFiles")
#shutil.rmtree(path+"\\NitrogenApplied")

Expand Down
Loading