From 37c4348a2084632dc56e4635f60f180661fcdad8 Mon Sep 17 00:00:00 2001 From: Brian Hogg Date: Mon, 11 Mar 2024 15:01:15 +0100 Subject: [PATCH 1/2] Removing failing ossar test --- .github/workflows/ossar-analysis.yml | 44 ---------------------------- 1 file changed, 44 deletions(-) delete mode 100644 .github/workflows/ossar-analysis.yml diff --git a/.github/workflows/ossar-analysis.yml b/.github/workflows/ossar-analysis.yml deleted file mode 100644 index 3676b8d6..00000000 --- a/.github/workflows/ossar-analysis.yml +++ /dev/null @@ -1,44 +0,0 @@ -# This workflow integrates a collection of open source static analysis tools -# with GitHub code scanning. For documentation, or to provide feedback, visit -# https://github.com/github/ossar-action -name: OSSAR - -on: - pull_request: - -jobs: - OSSAR-Scan: - # OSSAR runs on windows-latest. - # ubuntu-latest and macos-latest support coming soon - runs-on: windows-latest - - steps: - # Checkout your code repository to scan - - name: Checkout repository - uses: actions/checkout@v2 - with: - # We must fetch at least the immediate parents so that if this is - # a pull request then we can checkout the head. - fetch-depth: 2 - - # If this run was triggered by a pull request event, then checkout - # the head of the pull request instead of the merge commit. - - run: git checkout HEAD^2 - if: ${{ github.event_name == 'pull_request' }} - - # Install dotnet, used by OSSAR - - name: Install .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.201' - - # Run open source static analysis tools - - name: Run OSSAR - uses: github/ossar-action@v1 - id: ossar - - # Upload results to the Security tab - - name: Upload OSSAR results - uses: github/codeql-action/upload-sarif@v1 - with: - sarif_file: ${{ steps.ossar.outputs.sarifFile }} From 61d51985cd3e580a78c3bafa00dea4b09d7048ba Mon Sep 17 00:00:00 2001 From: Brian Hogg Date: Mon, 11 Mar 2024 15:06:45 +0100 Subject: [PATCH 2/2] Removing broken e2e test running --- .github/workflows/test-e2e.yml | 98 ---------------------------------- 1 file changed, 98 deletions(-) delete mode 100644 .github/workflows/test-e2e.yml diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml deleted file mode 100644 index 64439513..00000000 --- a/.github/workflows/test-e2e.yml +++ /dev/null @@ -1,98 +0,0 @@ -### -# -# This workflow file is deployed into this repository via the "Sync Organization Files" workflow -# -# Direct edits to this file are at risk of being overwritten by the next sync. All edits should be made -# to the source file. -# -# @see Sync workflow {@link https://github.com/gocodebox/.github/actions/workflows/workflow-sync.yml} -# @see Workflow template {@link https://github.com/gocodebox/.github/blob/trunk/.github/workflow-templates/test-e2e.yml} -# -### -name: Test E2E - -on: - workflow_dispatch: - pull_request: - # Once daily at 00:00 UTC. -# schedule: -# - cron: '0 0 * * *' - -concurrency: - group: ${{ github.workflow }}-${{ 'pull_request' == github.event_name && github.head_ref || github.sha }} - cancel-in-progress: true - -jobs: - ### - # - # Setup the test matrix. - # - ### - set-matrix: - name: Setup Matrix - runs-on: ubuntu-latest - outputs: - matrix: ${{ steps.setup.outputs.matrix }} - steps: - - uses: actions/checkout@v2 - - id: setup - uses: gocodebox/.github/.github/actions/setup-matrix@trunk - - ### - # - # Run tests. - # - ### - test: - name: "WP ${{ matrix.WP }}" - needs: set-matrix - runs-on: ubuntu-latest - continue-on-error: ${{ matrix.allow-failure }} - - strategy: - fail-fast: false - matrix: ${{ fromJSON( needs.set-matrix.outputs.matrix ) }} - - steps: - - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup Environment - uses: gocodebox/.github/.github/actions/setup-e2e@trunk - with: - wp-version: ${{ matrix.WP }} - docker-user: ${{ secrets.DOCKER_USERNAME }} - docker-pass: ${{ secrets.DOCKER_PASSWORD }} - node-version: '16' - - - name: Run test suite - run: npm run test -- --verbose - - - name: Upload artifacts - uses: actions/upload-artifact@v2 - if: failure() - with: - name: error-artifacts-wp-${{ matrix.WP }} - path: tmp/artifacts - - ### - # - # Check the status of the entire test matrix. - # - # This will succeed if all jobs from the `test` job's matrix succeed. It allows jobs marked with `allow-failure` - # to fail. - # - # This job can be used as a single status check for branch protection rules. Without this - # we would need to require every job in the above build matrix. - # - ### - status: - name: Test E2E Status - runs-on: ubuntu-latest - if: always() - needs: test - steps: - - name: Check overall matrix status - if: ${{ 'success' != needs.test.result }} - run: exit 1