Skip to content

chore: release 1.6.2 #321

chore: release 1.6.2

chore: release 1.6.2 #321

Workflow file for this run

name: Test
permissions:
contents: read
on:
push:
branches-ignore:
- 'wip-*'
paths-ignore:
- '.github/**'
- 'docs/**'
- '*.md'
- '*.rst'
- '*.lock'
pull_request:
branches-ignore:
- 'wip-*'
paths-ignore:
- '.github/**'
- 'docs/**'
- '*.md'
- '*.rst'
- '*.lock'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install dependencies
run: |
pip install -r requirements-dev.lock
- name: ruff lint
run: ruff check
- name: mypy lint
run: mypy
test:
needs: lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 3
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
- "pypy-3.10"
- "pypy-3.11"
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.lock
- name: Report coverage
run: pytest --cov=joserfc --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
flags: unittests
name: GitHub
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v7
continue-on-error: true
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}