Skip to content

chore(deps-dev): bump pytest from 8.2.0 to 8.2.1 #866

chore(deps-dev): bump pytest from 8.2.0 to 8.2.1

chore(deps-dev): bump pytest from 8.2.0 to 8.2.1 #866

Workflow file for this run

name: "Validations"
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions:
contents: read
env:
PYTHON_VERSION: "3.11"
POETRY_VERSION: "1.3.2"
jobs:
# note: changing the job name requires a quality gate reference change in .github/workflows/release.yaml
validations:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install poetry
uses: abatilo/actions-poetry@437d4fa27baf74d89b789ba2d8cae97dd2365feb # v2.3.0
with:
poetry-version: ${{ env.POETRY_VERSION }}
- name: Cache Poetry virtualenv
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
id: cache
with:
path: ~/.virtualenvs
key: python-${{ env.PYTHON_VERSION }}-poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('poetry.lock') }}
restore-keys: |
python-${{ env.PYTHON_VERSION }}-poetry-${{ env.POETRY_VERSION }}
- name: Setup Poetry config
run: |
poetry config virtualenvs.in-project false
poetry config virtualenvs.path ~/.virtualenvs
- name: Install dependencies and package
run: poetry install
if: steps.cache.outputs.cache-hit != 'true'
- name: Run static analysis
run: poetry run make static-analysis
- name: Run unit tests
run: poetry run make unit
- name: Build test
run: poetry run make build
- name: Run CLI tests
run: make cli