Skip to content

feat(acls): adding hostedExtractorAcl #185

feat(acls): adding hostedExtractorAcl

feat(acls): adding hostedExtractorAcl #185

Workflow file for this run

name: Check Quality and Test
on:
pull_request:
env:
PYTHON_VERSION: "3.11"
POETRY_VERSION: "1.5.1"
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up cache
uses: actions/[email protected]
with:
path: .venv
key: venv-${{ hashFiles('poetry.lock') }}
- name: Install Poetry ${{ env.POETRY_VERSION }}
uses: cognitedata/install-poetry@v1
with:
version: ${{ env.POETRY_VERSION }}
- run: poetry install --sync
- name: Run tests
run: poetry run pytest
- name: Run linting
run: poetry run pre-commit run --all-files
- name: Git diff (in case linting fails, prints why)
if: always()
run: git diff .
- name: Run security checks
run: poetry check