Skip to content

Test PyPI install

Test PyPI install #40

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.9", "3.10", "3.11", "3.12"]
include:
- python-version: "3.9"
python-version-nd: 39
- python-version: "3.10"
python-version-nd: 310
- python-version: "3.11"
python-version-nd: 311
- python-version: "3.12"
python-version-nd: 312
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