@@ -3,25 +3,25 @@ name: CI
33# Controls when the action will run. Triggers the workflow on push or pull request
44on :
55 push :
6- branches :
6+ branches :
77 - dev
88 - future
99 tags :
1010 - v[0-9]+.[0-9]+.[0-9]+ # Matches all semantic versioning tags with major, minor, patch
1111 pull_request :
12- branches :
12+ branches :
1313 - dev
1414 - future
1515
1616env :
17- dotnet_sdk_version : ' 10.0.100'
17+ dotnet_sdk_version : " 10.0.100"
1818 REPOSITORY_NAME : ${{ github.event.repository.name }}
19- MORYX_PACKAGE_TARGET_DEV : ' https://www.myget.org/F/moryx-oss-ci/api/v2/package'
20- MORYX_PACKAGE_TARGET_V3_DEV : ' https://www.myget.org/F/moryx-oss-ci/api/v3/index.json'
21- MORYX_PACKAGE_TARGET_FUTURE : ' https://www.myget.org/F/moryx-oss-ci/api/v2/package'
22- MORYX_PACKAGE_TARGET_V3_FUTURE : ' https://www.myget.org/F/moryx-oss-ci/api/v3/index.json'
23- MORYX_PACKAGE_TARGET_RELEASE : ' https://api.nuget.org/v3/index.json'
24- MORYX_PACKAGE_TARGET_V3_RELEASE : ' https://api.nuget.org/v3/index.json'
19+ MORYX_PACKAGE_TARGET_DEV : " https://www.myget.org/F/moryx-oss-ci/api/v2/package"
20+ MORYX_PACKAGE_TARGET_V3_DEV : " https://www.myget.org/F/moryx-oss-ci/api/v3/index.json"
21+ MORYX_PACKAGE_TARGET_FUTURE : " https://www.myget.org/F/moryx-oss-ci/api/v2/package"
22+ MORYX_PACKAGE_TARGET_V3_FUTURE : " https://www.myget.org/F/moryx-oss-ci/api/v3/index.json"
23+ MORYX_PACKAGE_TARGET_RELEASE : " https://api.nuget.org/v3/index.json"
24+ MORYX_PACKAGE_TARGET_V3_RELEASE : " https://api.nuget.org/v3/index.json"
2525
2626jobs :
2727 EnvVar :
@@ -45,35 +45,35 @@ jobs:
4545 dotnet_sdk_version : ${{ needs.EnvVar.outputs.dotnet_sdk_version }}
4646 REPOSITORY_NAME : ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}
4747
48- # UnitTests:
49- # needs: [EnvVar, Build]
50- # uses: phoenixcontact/tools/.github/workflows/unittest-tool.yml@main
51- # with:
52- # dotnet_sdk_version: ${{ needs.EnvVar.outputs.dotnet_sdk_version }}
53- # REPOSITORY_NAME: ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}
54- #
55- # IntegrationTests:
56- # needs: [EnvVar, Build]
57- # uses: phoenixcontact/tools/.github/workflows/integrationtest-tool.yml@main
58- # with:
59- # dotnet_sdk_version: ${{ needs.EnvVar.outputs.dotnet_sdk_version }}
60- # REPOSITORY_NAME: ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}
61- #
62- # ReportGenerator:
63- # needs: [EnvVar, UnitTests, IntegrationTests]
64- # uses: phoenixcontact/tools/.github/workflows/reportgenerator-tool.yml@main
65- # with:
66- # REPOSITORY_NAME: ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}
67- #
68- # Publish-Test-Coverage:
69- # needs: [EnvVar, ReportGenerator]
70- # uses: phoenixcontact/tools/.github/workflows/publish-test-coverage-tool.yml@main
71- # with:
72- # REPOSITORY_NAME: ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}
73- # secrets:
74- # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
75- # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
76- #
48+ UnitTests :
49+ needs : [EnvVar, Build]
50+ uses : phoenixcontact/tools/.github/workflows/unittest-tool.yml@main
51+ with :
52+ dotnet_sdk_version : ${{ needs.EnvVar.outputs.dotnet_sdk_version }}
53+ REPOSITORY_NAME : ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}
54+
55+ IntegrationTests :
56+ needs : [EnvVar, Build]
57+ uses : phoenixcontact/tools/.github/workflows/integrationtest-tool.yml@main
58+ with :
59+ dotnet_sdk_version : ${{ needs.EnvVar.outputs.dotnet_sdk_version }}
60+ REPOSITORY_NAME : ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}
61+
62+ ReportGenerator :
63+ needs : [EnvVar, UnitTests, IntegrationTests]
64+ uses : phoenixcontact/tools/.github/workflows/reportgenerator-tool.yml@main
65+ with :
66+ REPOSITORY_NAME : ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}
67+
68+ Publish-Test-Coverage :
69+ needs : [EnvVar, ReportGenerator]
70+ uses : phoenixcontact/tools/.github/workflows/publish-test-coverage-tool.yml@main
71+ with :
72+ REPOSITORY_NAME : ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}
73+ secrets :
74+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
75+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
76+
7777 # currently not working
7878 # Documentation:
7979 # needs: [EnvVar, UnitTests]
9393 MORYX_PACKAGE_TARGET_V3_FUTURE : ${{ needs.EnvVar.outputs.MORYX_PACKAGE_TARGET_V3_FUTURE }}
9494 MORYX_PACKAGE_TARGET_RELEASE : ${{ needs.EnvVar.outputs.MORYX_PACKAGE_TARGET_RELEASE }}
9595 MORYX_PACKAGE_TARGET_V3_RELEASE : ${{ needs.EnvVar.outputs.MORYX_PACKAGE_TARGET_V3_RELEASE }}
96- secrets :
96+ secrets :
9797 MYGET_TOKEN : ${{secrets.MYGET_TOKEN}}
9898 NUGET_TOKEN : ${{secrets.NUGET_TOKEN}}
0 commit comments