Skip to content

Bump pytest from 9.0.3 to 9.1.1 #336

Bump pytest from 9.0.3 to 9.1.1

Bump pytest from 9.0.3 to 9.1.1 #336

Workflow file for this run

name: Test
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- name: Install UV
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Build the project
run: uv sync --dev
- name: Run the tests
run: uv run -- pytest tests --cov=dfttoolkit --cov-report xml
- name: Publish to Coveralls
if: matrix.python-version == '3.13'
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}