chore(deps): update registry.access.redhat.com/ubi9/python-312 docker digest to 5e80833 #2078
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Test and Lint | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened, labeled] | |
| workflow_dispatch: | |
| jobs: | |
| tox: | |
| name: Run unit tests and linters | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/[email protected] | |
| - name: Install Poetry | |
| uses: snok/[email protected] | |
| - name: Install dependencies | |
| run: | | |
| poetry install --no-interaction --no-root | |
| - name: Install Hadolint and Oras via Brew | |
| run: | | |
| NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| /home/linuxbrew/.linuxbrew/bin/brew install hadolint oras | |
| sudo ln -s /home/linuxbrew/.linuxbrew/bin/hadolint /usr/bin/ | |
| sudo ln -s /home/linuxbrew/.linuxbrew/bin/oras /usr/bin/ | |
| - name: Run Tests | |
| run: | | |
| poetry run tox run --skip-env test-integration | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| flags: unit-tests | |
| files: ./coverage.xml | |
| fail_ci_if_error: false | |
| commitlint: | |
| name: Conventional Commit Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/[email protected] | |
| - uses: webiny/[email protected] |