Skip to content

feat(ssl): support ssl certificates for https #10

feat(ssl): support ssl certificates for https

feat(ssl): support ssl certificates for https #10

Workflow file for this run

name: Pull Request Checks
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
ruff:
name: Lint with ruff
uses: ./.github/workflows/python-job.yml
with:
run: ruff check .
secrets: inherit
black:
name: Lint with black
uses: ./.github/workflows/python-job.yml
with:
run: black --check .
secrets: inherit
isort:
name: Lint with isort
uses: ./.github/workflows/python-job.yml
with:
run: isort --check .
secrets: inherit
test:
name: Run tests
uses: ./.github/workflows/python-job.yml
with:
run: |
mkdir reports
pytest --junit-xml=reports/pytest.xml --cov --cov-report=term-missing:skip-covered | tee reports/coverage.txt
artifact: pytest-results
artifact_path: reports/
secrets: inherit
report-coverage:
name: Report tests coverage
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
needs: [test]
steps:
- name: Download Pytest results
uses: actions/download-artifact@v4
with:
name: pytest-results
path: reports
- name: Add PR comment
uses: MishaKav/pytest-coverage-comment@main
with:
junitxml-path: reports/pytest.xml
pytest-coverage-path: reports/coverage.txt
report-only-changed-files: true