From: Anil Belur Date: Sun, 14 Jan 2024 03:42:43 +0000 (+1000) Subject: Fix: Update GHA workflow for java install role X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=f98eff27edf866b6882d5bb0d85dfda9169abd66;p=ansible%2Froles%2Fjava-install.git Fix: Update GHA workflow for java install role Remove tox verify, run molecule tests directly. Issue: RELENG-5094 Change-Id: I715a8d4fb9d35385cbdcbeade04a73696c65cca6 Signed-off-by: Anil Belur --- diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml index dddfaf7..14e0a85 100644 --- a/.github/workflows/gerrit-verify.yaml +++ b/.github/workflows/gerrit-verify.yaml @@ -94,7 +94,7 @@ jobs: - name: Run static analysis and format checkers run: pipx run pre-commit run --all-files --show-diff-on-failure - molecule: + molecule-run: needs: prepare name: Molecule runs-on: ubuntu-latest @@ -125,22 +125,6 @@ jobs: ANSIBLE_FORCE_COLOR: "1" MOLECULE_DISTRO: ${{ matrix.distro }} - tox-verify: - needs: prepare - runs-on: ubuntu-latest - steps: - - uses: lfit/checkout-gerrit-change-action@v0.4 - with: - gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }} - delay: "0s" - - uses: actions/setup-python@v4 - id: setup-python - with: - python-version: "3.11" - - name: Run tox - run: >- - pipx run tox - vote: if: ${{ always() }} needs: @@ -148,7 +132,7 @@ jobs: prepare, actionlint, pre-commit, - tox-verify, + molecule-run, ] runs-on: ubuntu-latest steps: