Skip to content

dependabot[bot] is testing the code #261

dependabot[bot] is testing the code

dependabot[bot] is testing the code #261

Workflow file for this run

name: Tests
run-name: ${{ github.actor }} is testing the code
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up package manager 'uv'
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --frozen --group tests
- name: Test with pytest
run: uv run --frozen pytest
- name: Run coverage tests
run: uv run --frozen pytest --cov=ecmwfspec --cov-fail-under=50