Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/ci-linux.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Linux CI

on: [push, pull_request]

jobs:
build:
runs-on: linux
strategy:
fail-fast: false
matrix:
python-version: ["3.5", "3.6", "3.7", "3.8"]

steps:
- name: Checkout source
uses: actions/checkout@v2
with:
submodules: recursive

- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}

- name: Install numcodecs
run: |
python -m pip install -U pip setuptools wheel pytest tox -rrequirements_dev.txt -rrequirements_rtfd.txt
python -m pip install -v -e .

- name: List installed packages
run: python -m pip list

- name: Run tests
run: pytest -v --cov=numcodecs --doctest-modules --doctest-glob=*.pyx numcodecs

- name: Flake8
run: flake8 numcodecs

- name: Build Doc:
run: |
cd docs
sphinx-build -W -b html