diff --git a/.github/workflows/testcentric-engine-api-ci.yml b/.github/workflows/testcentric-engine-api-ci.yml new file mode 100644 index 0000000..ffa84cc --- /dev/null +++ b/.github/workflows/testcentric-engine-api-ci.yml @@ -0,0 +1,11 @@ +name: TestCentric.Engine.Api.CI + +on: + workflow_dispatch: + pull_request: + push: + +jobs: + ContinuousIntegration: + uses: TestCentric/TestCentric.WorkFlows/.github/workflows/testcentric-ci.yml@main + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/testcentric-gui-ci.yml b/.github/workflows/testcentric-gui-ci.yml deleted file mode 100644 index 30d253f..0000000 --- a/.github/workflows/testcentric-gui-ci.yml +++ /dev/null @@ -1,68 +0,0 @@ -name: TestCentric.Net462Agent.CI - -on: - workflow_dispatch: - pull_request: - push: - paths-ignore: - - "*.txt" - - "*.md" - -env: - DOTNET_NOLOGO: true # Disable the .NET logo - DOTNET_CLI_TELEMETRY_OPTOUT: true # Disable sending .NET CLI telemetry - -jobs: - ContinuousIntegration: - name: Continuous Integration - runs-on: windows-latest - - env: - TESTCENTRIC_MYGET_API_KEY: ${{ secrets.TESTCENTRIC_MYGET_API_KEY }} - TESTCENTRIC_NUGET_API_KEY: ${{ secrets.TESTCENTRIC_NUGET_API_KEY }} - TESTCENTRIC_CHOCO_API_KEY: ${{ secrets.TESTCENTRIC_CHOCO_API_KEY }} - GITHUB_ACCESS_TOKEN: ${{ secrets.TESTCENTRIC_GITHUB_ACCESS_TOKEN }} - - steps: - - name: ⤵️ Checkout Source - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: 🔧 Install dotnet tools - run: dotnet tool restore - - - name: 🍰 Run cake - env: - TESTCENTRIC_MYGET_API_KEY: ${{ secrets.TESTCENTRIC_MYGET_API_KEY }} - TESTCENTRIC_NUGET_API_KEY: ${{ secrets.TESTCENTRIC_NUGET_API_KEY }} - TESTCENTRIC_CHOCO_API_KEY: ${{ secrets.TESTCENTRIC_CHOCO_API_KEY }} - GITHUB_ACCESS_TOKEN: ${{ secrets.TESTCENTRIC_GITHUB_ACCESS_TOKEN }} - - # If you need to get more verbose logging, add the following to the dotnet-cake above: --verbosity=diagnostic - run: dotnet cake --target=ContinuousIntegration --configuration=Release - - - name: 🪵 Upload build logs - if: always() - uses: actions/upload-artifact@v4 - with: - name: Upload Console Logs - # This path is defined in build-settings.cake - path: "build-results/*.binlog" - # if-no-files-found: error - - - name: 🪵 Upload InternalTrace logs - if: always() - uses: actions/upload-artifact@v4 - with: - name: InternalTraceLogs - # This path is defined in build-settings.cake - path: "*.log" - # if-no-files-found: error - - - name: 💾 Upload test results - uses: actions/upload-artifact@v4 - if: always() - with: - name: "Test Results" - path: test-results diff --git a/testcentric.engine.api.sln b/testcentric.engine.api.sln index c7542d8..9c77fa7 100644 --- a/testcentric.engine.api.sln +++ b/testcentric.engine.api.sln @@ -33,7 +33,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{4EF1 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{660649B9-30E3-4A6B-85C8-68CF25097169}" ProjectSection(SolutionItems) = preProject - ..\TestCentric.InternalTrace\.github\workflows\testcentric-internal-trace.ci.yml = ..\TestCentric.InternalTrace\.github\workflows\testcentric-internal-trace.ci.yml + .github\workflows\testcentric-engine-api-ci.yml = .github\workflows\testcentric-engine-api-ci.yml EndProjectSection EndProject Global