Propagate v2 compress to Fortran #224
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Python Versions 🐍 | |
| on: [push] | |
| jobs: | |
| test: | |
| # `ubuntu-24.04` doesn't support Python 3.7 anymore | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 🐍 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up Rust 🦀 | |
| run: | | |
| rustup component add llvm-tools | |
| - name: Get data | |
| uses: ./.github/actions/cache-data | |
| - name: Test Python versions 🐍 | |
| env: | |
| RUSTFLAGS: '-Cinstrument-coverage -Clink-dead-code' | |
| run: | | |
| export NEOPDF_DATA_PATH=${PWD}/neopdf-data | |
| cd neopdf_pyapi | |
| python -m venv env | |
| . env/bin/activate | |
| pip install maturin | |
| maturin develop --extras test | |
| pytest -m multipleversions benches/test_versions.py |