Skip to content

Test PyPI install

Test PyPI install #21

name: Test PyPI install
on:
schedule:
- cron: '0 0 1 * *'
jobs:
build:
name: ${{ matrix.os }}-py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.7, 3.8, 3.9]
include:
- python-version: 3.7
python-version-nd: 37
- python-version: 3.8
python-version-nd: 38
- python-version: 3.9
python-version-nd: 39
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: create environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: causalml-py${{ matrix.python-version-nd }}
python-version: ${{ matrix.python-version }}
- name: Install using pip
run: |
pip install causalml