diff --git a/.github/workflows/ubuntodotnet.yml b/.github/workflows/ubuntodotnet.yml index 2846780..1a4a274 100644 --- a/.github/workflows/ubuntodotnet.yml +++ b/.github/workflows/ubuntodotnet.yml @@ -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 @@ -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 "username@users.noreply.github.com" + git add docs + git commit -m "${{ env.CI_COMMIT_MESSAGE }}" + git push TestRuns + #installing packages - name: Install Python pandas @@ -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 @@ -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 \ No newline at end of file diff --git a/modelCsharp/TestModel/testGraph/testGraph/testGraph.py b/modelCsharp/TestModel/testGraph/testGraph/testGraph.py index 47e8001..83b7a81 100644 --- a/modelCsharp/TestModel/testGraph/testGraph/testGraph.py +++ b/modelCsharp/TestModel/testGraph/testGraph/testGraph.py @@ -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 @@ -134,6 +134,7 @@ def make_observed(observed): plt.show() + #shutil.rmtree(path+"\\OutputFiles") #shutil.rmtree(path+"\\NitrogenApplied")