Skip to content

add wheel

add wheel #39

Workflow file for this run

name: Run Tests
on:
push:
branches: [ '*' ]
pull_request:
branches: [ master ]
jobs:
devel:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: pip install -U pip setuptools wheel
- name: Install lightfm
run: python -m pip install --no-use-pep517 'lightfm<2'
- name: Install package
run: pip install .[dev]
- name: make test-devel
run: make test-devel
readme:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
os: [ubuntu-20.04, macos-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: pip install -U pip setuptools wheel
- name: Install lightfm
run: python -m pip install --no-use-pep517 'lightfm<2'
- name: Install package and dependencies
run: pip install rundoc .[mlprimitives]
- name: make test-readme
run: make test-readme
unit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
os: [ubuntu-20.04, macos-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dependencies
run: pip install .[unit]
- name: make test-unit
run: make test-unit
unit-mlprimitives:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
os: [ubuntu-20.04, macos-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: pip install -U pip setuptools wheel
- name: Install lightfm
run: python -m pip install --no-use-pep517 'lightfm<2'
- name: Install package and dependencies
run: pip install .[test]
- name: make test-mlprimitives
run: make test-mlprimitives
tutorials:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- if: matrix.os == 'ubuntu-20.04'
name: Install dependencies - Ubuntu
run: sudo apt-get install graphviz
- name: Upgrade pip
run: pip install -U pip setuptools wheel
- name: Install lightfm
run: python -m pip install --no-use-pep517 'lightfm<2'
- name: Install package and dependencies
run: pip install .[examples]
- name: make test-tutorials
run: make test-tutorials