diff --git a/.github/workflows/docs-changelog-generate.yaml b/.github/workflows/generate-changelog.yaml similarity index 96% rename from .github/workflows/docs-changelog-generate.yaml rename to .github/workflows/generate-changelog.yaml index 9afad1f814..b8171ef9bc 100644 --- a/.github/workflows/docs-changelog-generate.yaml +++ b/.github/workflows/generate-changelog.yaml @@ -1,4 +1,4 @@ -name: docs-changelog-generate +name: generate-changelog on: push: diff --git a/.github/workflows/docs-stable.yaml b/.github/workflows/generate-gh-pages.yaml similarity index 98% rename from .github/workflows/docs-stable.yaml rename to .github/workflows/generate-gh-pages.yaml index 089f6ed7b4..419b067703 100644 --- a/.github/workflows/docs-stable.yaml +++ b/.github/workflows/generate-gh-pages.yaml @@ -1,4 +1,4 @@ -name: docs-stable +name: generate-gh-pages on: push: diff --git a/.github/workflows/report-test-results.yaml b/.github/workflows/report-test-results.yaml new file mode 100644 index 0000000000..e5f7e2e7c2 --- /dev/null +++ b/.github/workflows/report-test-results.yaml @@ -0,0 +1,29 @@ +name: report-test-results + +on: + workflow_run: + workflows: [ 'main' ] + types: + - completed + +jobs: + report: + runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + issues: write + pull-requests: write + steps: + - name: Download Artifacts + uses: actions/download-artifact@v3 + - name: Display structure of downloaded files + run: ls -R + - name: Report tests results + uses: AndreyAkinshin/test-reporter@0e2c48ebec2007001dd77dd4bcbcd450b96d5a38 + if: always() + with: + name: test-results + path: "**/*.trx" + reporter: dotnet-trx + fail-on-error: true \ No newline at end of file diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml deleted file mode 100644 index 5ab4f3a77d..0000000000 --- a/.github/workflows/spellcheck.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Documentation Checks - -on: - push: - branches: - - master - paths: - - "docs/**/*" - pull_request: - branches: - - master - paths: - - "docs/**/*" -jobs: - spellcheck: - name: "Docs: Spellcheck" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - name: Check out the code - - uses: actions/setup-node@v1 - name: Setup node - with: - node-version: "16" - - run: npm install -g cspell - name: Install cSpell - - run: cspell --config ./cSpell.json "docs/**/*.md" --no-progress - name: Run cSpell diff --git a/.github/workflows/build.yaml b/.github/workflows/test.yaml similarity index 72% rename from .github/workflows/build.yaml rename to .github/workflows/test.yaml index 14fca006b6..3958bec8a8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/test.yaml @@ -1,14 +1,12 @@ -name: build +name: test on: pull_request: push: -permissions: write-all - jobs: - build-windows-core: + test-windows-core: runs-on: windows-latest steps: - name: Disable Windows Defender @@ -26,13 +24,13 @@ jobs: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" ./build.cmd InTestsCore -e - name: Upload test results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: always() with: - name: build-windows-core-trx + name: test-windows-core-trx path: "**/*.trx" - build-windows-full: + test-windows-full: runs-on: windows-latest steps: - name: Disable Windows Defender @@ -50,13 +48,13 @@ jobs: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" ./build.cmd InTestsFull -e - name: Upload test results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: always() with: - name: build-windows-full-trx + name: test-windows-full-trx path: "**/*.trx" - build-linux: + test-linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -74,13 +72,13 @@ jobs: - name: Run task 'InTestsCore' run: ./build.cmd InTestsCore -e - name: Upload test results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: always() with: - name: build-linux-trx + name: test-linux-trx path: "**/*.trx" - build-macos: + test-macos: runs-on: macos-13 steps: - uses: actions/checkout@v3 @@ -91,28 +89,21 @@ jobs: - name: Run task 'InTestsCore' run: ./build.cmd InTestsCore -e - name: Upload test results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: always() with: - name: build-macos-trx + name: test-macos-trx path: "**/*.trx" - report: - concurrency: ci-${{ github.ref }} - needs: [build-windows-full, build-windows-core, build-linux, build-macos] + docs-spellcheck: runs-on: ubuntu-latest - if: always() steps: - uses: actions/checkout@v3 - - name: Download Artifacts - uses: actions/download-artifact@v3 - - name: Display structure of downloaded files - run: ls -R - - name: Report tests results - uses: AndreyAkinshin/test-reporter@0e2c48ebec2007001dd77dd4bcbcd450b96d5a38 - if: always() + - uses: actions/setup-node@v1 + name: Setup node with: - name: test-results - path: "**/*.trx" - reporter: dotnet-trx - fail-on-error: true + node-version: "16" + - run: npm install -g cspell + name: Install cSpell + - run: cspell --config ./cSpell.json "docs/**/*.md" --no-progress + name: Run cSpell \ No newline at end of file