Skip to content

chore: prepare 0.3.1 release #140

chore: prepare 0.3.1 release

chore: prepare 0.3.1 release #140

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
id-token: write
jobs:
verify:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python:
- "3.11"
- "3.14"
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python }}
- uses: astral-sh/setup-uv@v10.3.3
with:
version: "0.11.8"
enable-cache: true
cache-dependency-glob: uv.lock
- run: uv sync --all-groups --locked --python "${{ matrix.python }}"
- run: make verify
- name: Upload coverage to Codecov
if: matrix.python == '3.11'
uses: codecov/codecov-action@v7
with:
files: coverage.xml
fail_ci_if_error: true
flags: unit
name: python-3.11-unit
use_oidc: true
- name: Upload coverage report
if: matrix.python == '3.11'
uses: actions/upload-artifact@v7
with:
name: aep-python-coverage
path: coverage.xml
if-no-files-found: error
retention-days: 7
conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Check out AEP specifications
uses: actions/checkout@v7
with:
repository: aep-foundation/aep-specs
path: .conformance/aep-specs
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
working-directory: .conformance/aep-specs/ietf
- uses: actions/setup-python@v7
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@v10.3.3
with:
version: "0.11.8"
enable-cache: true
cache-dependency-glob: uv.lock
- run: uv sync --all-groups --locked --python "3.11"
- name: Run shared conformance harness
run: make conformance
env:
AEP_SPECS_DIR: .conformance/aep-specs
- name: Upload conformance reports
uses: actions/upload-artifact@v7
with:
name: aep-python-conformance
path: .conformance/reports/*.json
if-no-files-found: error
retention-days: 7