Skip to content

Add open sourcing bits. #5

Add open sourcing bits.

Add open sourcing bits. #5

Workflow file for this run

name: Run tests and lint
on:
push:
branches: ['main']
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
toxenv: ['py3']
include:
- python-version: '3.12'
toxenv: 'lint'
- python-version: '3.12'
toxenv: 'coverage'
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libopenmpi-dev
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Test with tox
run: tox -e ${{ matrix.toxenv }}
- name: Get coverage
if:
matrix.toxenv == 'coverage' && github.event_name == 'pull_request'
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
files: ./coverage.xml
flags: pytest
name: "functionalizer-py312"