Skip to content

fix(storage): create evidence/ dir on demand in put_evidence #839

fix(storage): create evidence/ dir on demand in put_evidence

fix(storage): create evidence/ dir on demand in put_evidence #839

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: test (py${{ matrix.python }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
- name: install
run: |
python -m pip install --upgrade pip
pip install -e '.[dev,web]'
- name: lint
run: python -m ruff check src tests
- name: type
run: python -m mypy src
- name: test
run: python -m pytest --cov=vouch --cov-report=xml
- name: upload coverage
if: matrix.python == '3.12'
uses: actions/upload-artifact@v7
with:
name: coverage
path: coverage.xml
build:
name: build sdist + wheel
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: build
run: |
python -m pip install --upgrade pip build
python -m build
- name: upload artifacts
uses: actions/upload-artifact@v7
with:
name: dist
path: dist/