Skip to content

Fix CI

Fix CI #238

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build_manylinux:
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
path: htseq
- name: Move repo folder
run:
mv htseq /io
- name: Prepare docker image
run:
/io/prepare_docker.sh
- name: Build wheels
env:
PYTHON_VERSION: ${{ matrix.python-version }}
run:
/io/buildwheels.sh
- name: Test wheels
env:
PYTHON_VERSION: ${{ matrix.python-version }}
run:
/io/testwheels.sh
build_ubuntu:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
env:
OS_NAME: ${{ matrix.os }}
CONDA_PY: ${{ matrix.python-version }}
run: ./.ci_deps.sh
- name: Install HTSeq
env:
OS_NAME: ${{ matrix.os }}
CONDA_PY: ${{ matrix.python-version }}
run: ./.ci_install.sh
- name: Test with pytest
env:
OS_NAME: ${{ matrix.os }}
CONDA_PY: ${{ matrix.python-version }}
run: ./.ci_test.sh
build_mac:
strategy:
matrix:
os: [macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
env:
OS_NAME: ${{ matrix.os }}
CONDA_PY: ${{ matrix.python-version }}
run: ./.ci_deps.sh
- name: Install HTSeq
env:
OS_NAME: ${{ matrix.os }}
CONDA_PY: ${{ matrix.python-version }}
run: ./.ci_install.sh
- name: Test with pytest
env:
OS_NAME: ${{ matrix.os }}
CONDA_PY: ${{ matrix.python-version }}
run: ./.ci_test.sh