feat(acls): adding hostedExtractorAcl #185
Workflow file for this run
This file contains 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: 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 |