Skip to content

Bump actions/checkout from 5 to 6 #635

Bump actions/checkout from 5 to 6

Bump actions/checkout from 5 to 6 #635

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
pytest:
name: pytest
runs-on: ${{ matrix.os }}
env:
MPLBACKEND: Agg
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.11', '3.12', '3.13']
steps:
- name: Clone repo
uses: actions/checkout@v6
- name: Set up python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install pip dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
python -m ensurepip
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt -r requirements/tests.txt
- name: Run pytest checks
shell: bash
run: |
python -m pytest tests --cov=geobench_v2 --cov-report=xml
- name: Report coverage
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}