Skip to content

Commit c5280d5

Browse files
authored
chore: remove library generation IT on workflow (#3476)
In this PR: - Remove library generation integration test run in workflow.
1 parent 1d31972 commit c5280d5

File tree

4 files changed

+1
-396
lines changed

4 files changed

+1
-396
lines changed

.github/workflows/verify_library_generation.yaml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,6 @@ jobs:
3838
head_repo_url: ${{ github.event.pull_request.head.repo.html_url }}
3939
head_repo_name: ${{ github.event.pull_request.head.repo.full_name }}
4040
base_repo: ${{ github.repository }}
41-
library-generation-integration-tests:
42-
runs-on: ubuntu-22.04
43-
needs: should-run-library-generation-tests
44-
if: needs.should-run-library-generation-tests.outputs.should_run == 'true'
45-
steps:
46-
- uses: actions/checkout@v4
47-
- uses: actions/setup-python@v5
48-
with:
49-
python-version: 3.12
50-
- name: install python modules and dependencies
51-
shell: bash
52-
run: |
53-
set -ex
54-
pip install --upgrade pip
55-
pip install --require-hashes -r hermetic_build/common/requirements.txt
56-
pip install hermetic_build/common
57-
pip install --require-hashes -r hermetic_build/library_generation/requirements.txt
58-
pip install hermetic_build/library_generation
59-
- name: Run integration tests
60-
shell: bash
61-
run: |
62-
set -x
63-
python -m unittest hermetic_build/library_generation/tests/integration_tests.py
6441
library-generation-unit-tests:
6542
runs-on: ubuntu-22.04
6643
needs: should-run-library-generation-tests

hermetic_build/library_generation/tests/compare_poms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Utility to compare the contents of two XML files.
2+
Utility to compare the contents of two XML files.
33
This focuses on the tree structure of both XML files, meaning that element order and whitespace will be disregarded.
44
The only comparison points are: element path (e.g. project/dependencies) and element text
55
There is a special case for `dependency`, where the maven coordinates are prepared as well

0 commit comments

Comments
 (0)