Skip to content

Add Python 3.14 to workflow matrix and conditions #332

Add Python 3.14 to workflow matrix and conditions

Add Python 3.14 to workflow matrix and conditions #332

Workflow file for this run

name: Codecov
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install pytest mock coverage pytest-cov
pip install ".[vds,zgy,xr]"
- name: Run tests and collect coverage
run: |
mkdir test_temp
pytest --basetemp=test_temp
pytest --cov=seismic_zfp
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3