Skip to content

Core Reader

Core Reader #818

Workflow file for this run

name: unit tests
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
ubuntu:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- python-version: "3.6"
os: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python packages
run: |
pip install --upgrade pip
pip install --upgrade numpy pandas pytest otf2
- name: Lint and format check with flake8 and black
if: ${{ matrix.python-version == 3.9 }}
run: |
pip install --upgrade black flake8
black --diff --check .
flake8
- name: Basic test with pytest
run: |
PYTHONPATH=. $(which pytest)
macos:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python packages
run: |
pip install --upgrade pip
pip install --upgrade numpy pandas pytest otf2
- name: Basic test with pytest
run: |
PYTHONPATH=. $(which pytest)