Skip to content

Add Docker Integration tests for JavaScript, .NET, and Python #12

Add Docker Integration tests for JavaScript, .NET, and Python

Add Docker Integration tests for JavaScript, .NET, and Python #12

Workflow file for this run

name: PR Python Checks
on:
pull_request:
branches: [ main ]
paths:
- 'python/**'
- '.github/workflows/pr-python.yml'
jobs:
python-quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install deps
working-directory: python
run: |
python -m pip install --upgrade pip
pip install .[all]
- name: Ruff Lint
working-directory: python
run: python -m ruff check src tests
- name: Type check
working-directory: python
run: python -m mypy src/azurepg_entra/
- name: Tests
working-directory: python
run: python -m pytest tests --import-mode=importlib -q
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: python-test-results
path: python/.pytest_cache/
if-no-files-found: ignore
- name: Build package
working-directory: python
run: python -m build
- name: Upload package
uses: actions/upload-artifact@v4
with:
name: python-package
path: python/dist/