Skip to content

chore: bump opentelemetry-api from 1.42.1 to 1.43.0 #143

chore: bump opentelemetry-api from 1.42.1 to 1.43.0

chore: bump opentelemetry-api from 1.42.1 to 1.43.0 #143

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install ruff
- run: ruff check .
- run: ruff format --check .
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install skylos
- run: skylos . --json --no-provenance
- name: Check grade
run: |
GRADE=$(skylos . --json | python -c "import sys,json; print(json.load(sys.stdin)['grade'])")
echo "Skylos grade: $GRADE"
if [ "$GRADE" = "F" ] || [ "$GRADE" = "D" ] || [ "$GRADE" = "D+" ]; then
echo "Grade too low: $GRADE"
exit 1
fi
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e ".[dev,binary]" aiosqlite
- run: pytest tests/ -v --tb=long --timeout=30
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install build
- run: python -m build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/