[BRE-443] - Update Workflow Linter - Activate Approved Actions #32
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: CI | |
on: | |
pull_request: | |
paths: | |
- "src/**" | |
- "tests/**" | |
workflow_dispatch: | |
jobs: | |
test: | |
name: CI workflow-linter (v2) | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Python | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | |
with: | |
python-version-file: ".python-version" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipenv | |
pipenv install --dev | |
- name: Run pytest | |
run: pipenv run pytest tests --cov=src | |
- name: Check type hinting | |
run: pipenv run pytype src |