Skip to content

Try to migrate to Gh-action. #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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