Skip to content

Commit

Permalink
Revert "Add issue generation from fkaly tests for all archs (#38191)" (
Browse files Browse the repository at this point in the history
…#38230)

This reverts commit d5fdf81.

Signed-off-by: Arthur Silva Sens <[email protected]>
  • Loading branch information
ArthurSens authored Feb 26, 2025
1 parent bdf034a commit a778be9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 92 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/build-and-test-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@ jobs:
run: make install-tools
- name: Run Unit Tests
run: make -j2 gotest GROUP=${{ matrix.group }}
- name: Run Unit Tests With JUnit and Coverage
run: make gotest-with-junit-and-cover GROUP=${{ matrix.group }}
- uses: actions/upload-artifact@v4
with:
name: test-results-${{ runner.os }}-${{ matrix.group }}
path: internal/tools/testresults/
retention-days: 4
arm-unittest:
if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run ARM') || github.event_name == 'push' || github.event_name == 'merge_group') }}
runs-on: ubuntu-24.04
Expand All @@ -91,27 +84,3 @@ jobs:
echo "One or more matrix jobs failed."
false
fi
arm-flakytests-generate-issues:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-24.04
needs: [arm-unittest-matrix]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: test-results-*
path: ./internal/tools/testresults/
- name: Install Tools
run: make install-tools
- name: Generate Issues
run: |
# We want to start by generating issues of a single component
# As we mature the usage of issuegenerator, we can extend it to
# generate issues for multiple components.
#
# We'll start with the hostmetricsreceiver.
mkdir -p ./internal/tools/testresults/hostmetricsreceiver
mv ./internal/tools/testresults/github.jparrowsec.cn-open-telemetry-opentelemetry-collector-contrib-receiver-hostmetricsreceiver-junit.xml ./internal/tools/testresults/hostmetricsreceiver/
./tools/issuegenerator -path ./internal/tools/testresults/hostmetricsreceiver/
30 changes: 0 additions & 30 deletions .github/workflows/build-and-test-darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,6 @@ jobs:
run: unzip testbinaries.zip
- name: Run Unit Tests
run: make -j2 gorunbuilttest GROUP=cgo
- name: Run Unit Tests With JUnit and Coverage
run: make gotest-with-junit-and-cover
- uses: actions/upload-artifact@v4
with:
name: test-results-${{ runner.os }}
path: internal/tools/testresults/
retention-days: 4
darwin-unittest:
if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run Darwin') || github.event_name == 'push' || github.event_name == 'merge_group') }}
runs-on: macos-latest
Expand All @@ -105,26 +98,3 @@ jobs:
echo "One or more matrix jobs failed."
false
fi
darwin-flakytests-generate-issues:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-24.04
needs: [darwin-unittest-matrix]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: test-results-*
path: ./internal/tools/testresults/
- name: Install Tools
run: make install-tools
- name: Generate Issues
run: |
# We want to start by generating issues of a single component
# As we mature the usage of issuegenerator, we can extend it to
# generate issues for multiple components.
#
# We'll start with the hostmetricsreceiver.
mkdir -p ./internal/tools/testresults/hostmetricsreceiver
mv ./internal/tools/testresults/github.jparrowsec.cn-open-telemetry-opentelemetry-collector-contrib-receiver-hostmetricsreceiver-junit.xml ./internal/tools/testresults/hostmetricsreceiver/
./tools/issuegenerator -path ./internal/tools/testresults/hostmetricsreceiver/
31 changes: 0 additions & 31 deletions .github/workflows/build-and-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,6 @@ jobs:
run: make "$(${PWD} -replace '\\', '/')/.tools/gotestsum"
- name: Run Unit tests
run: make -j2 gotest GROUP=${{ matrix.group }}
- name: Run Unit Tests With JUnit and Coverage
run: make gotest-with-junit-and-cover GROUP=${{ matrix.group }}
- uses: actions/upload-artifact@v4
with:
name: test-results-${{ runner.os }}-${{ matrix.group }}
path: internal/tools/testresults/
retention-days: 4
windows-unittest:
if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run Windows') || github.event_name == 'push' || github.event_name == 'merge_group') }}
runs-on: windows-latest
Expand All @@ -103,27 +96,3 @@ jobs:
echo "One or more matrix jobs failed."
false
fi
windows-flakytests-generate-issues:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-24.04
needs: [windows-unittest-matrix]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: test-results-*
path: ./internal/tools/testresults/
- name: Install Tools
run: make install-tools
- name: Generate Issues
run: |
# We want to start by generating issues of a single component
# As we mature the usage of issuegenerator, we can extend it to
# generate issues for multiple components.
#
# We'll start with the hostmetricsreceiver.
mkdir -p ./internal/tools/testresults/hostmetricsreceiver
mv ./internal/tools/testresults/github.jparrowsec.cn-open-telemetry-opentelemetry-collector-contrib-receiver-hostmetricsreceiver-junit.xml ./internal/tools/testresults/hostmetricsreceiver/
./tools/issuegenerator -path ./internal/tools/testresults/hostmetricsreceiver/

0 comments on commit a778be9

Please sign in to comment.