Skip to content

verify py27 version #148

verify py27 version

verify py27 version #148

Workflow file for this run

name: f90nml
on: [push, pull_request]
jobs:
py27:
name: Python 2.7 (Docker)
runs-on: ubuntu-latest
container:
image: python:2.7
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install dependencies
run: |
python --version
pip --version
pip install --upgrade pip
pip install -r tests/requirements_test.txt
pip install pytest pytest-cov
- name: Run tests
run: pytest --cov --cov-branch --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: marshallward/f90nml
legacy:
runs-on: ubuntu-latest
strategy:
matrix:
#python-version: ["2.7", "3.5", "3.6", "3.7"]
python-version: ["3.5", "3.6", "3.7"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements_test.txt
pip install pytest pytest-cov
- name: Run tests
run: pytest --cov --cov-branch --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: marshallward/f90nml
modern:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "pypy-3.9"
- "pypy-3.10"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements_test.txt
pip install pytest pytest-cov
- name: Run tests
run: pytest --cov --cov-branch --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: marshallward/f90nml