summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2023-05-02 11:22:39 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2023-05-02 13:05:45 -0700
commit378a76f8e3f44b6630fda5bc54149f5b5042fdfa (patch)
tree66df4cad074e8cf75f4495b3c58bd93a5fbc3ba5
parent675c1a75cd047a28c533389dcb6835e6e9fec620 (diff)
Fix: Update Gerrit Verify GHA
- Remove tox validation - Clone submodules for jjb validation Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I7efc1e0c79cb8d7a4d8bd651f015ababe9c1f470
-rw-r--r--.github/workflows/gerrit-verify.yaml20
1 files changed, 3 insertions, 17 deletions
diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml
index 7ef90b2ec..eefd27609 100644
--- a/.github/workflows/gerrit-verify.yaml
+++ b/.github/workflows/gerrit-verify.yaml
@@ -78,22 +78,6 @@ jobs:
- name: Run static analysis and format checkers
run: pipx run tox -e pre-commit
- tox:
- needs: prepare
- runs-on: ubuntu-latest
- steps:
- - uses: lfit/checkout-gerrit-change-action@v0.2
- with:
- gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
- delay: "0s"
- - uses: actions/setup-python@v4
- id: setup-python
- with:
- python-version: "3.11"
- - name: Run tests
- run: >-
- TOX_SKIP_ENV=pre-commit pipx run tox
-
jjb-validation:
needs: prepare
runs-on: ubuntu-latest
@@ -106,6 +90,8 @@ jobs:
id: setup-python
with:
python-version: "3.11"
+ - name: Clone git submodules
+ run: git submodule update --init
- name: Run JJB Verify
run: |
python -m pip install --upgrade pip
@@ -124,7 +110,7 @@ jobs:
vote:
if: ${{ always() }}
- needs: [prepare, pre-commit, tox, jjb-validation]
+ needs: [prepare, pre-commit, jjb-validation]
runs-on: ubuntu-latest
steps:
- uses: technote-space/workflow-conclusion-action@v3