Skip to content

Bump actions/setup-python from 4 to 5 #238

Bump actions/setup-python from 4 to 5

Bump actions/setup-python from 4 to 5 #238

Workflow file for this run

name: Coveralls
on: [push, pull_request]
jobs:
CI:
runs-on: ubuntu-latest
strategy:
matrix:
fortran-compiler: [gfortran-12]
python-version: ['3.11']
env:
FC: ${{ matrix.fortran-compiler }}
CC: gcc
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: gfortran-12 setup compiler
if: contains(matrix.fortran-compiler, 'gfortran-12')
run: |
sudo apt-get install gfortran-12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest coveralls build wheel
- name: Run coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python -m pip install .
coverage run --source=gfort2py -m pytest tests/
coveralls --service=github