Skip to content

Commit

Permalink
add create conda env
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandrmgservices committed Jul 26, 2023
1 parent 8d607b2 commit 5241b60
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/test-pypi-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,36 @@ on: [push]

jobs:
build:
runs-on: ubuntu-latest
name: ${{ matrix.os }}-py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [3.8]
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 }}
# You can test your matrix by printing the current 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

0 comments on commit 5241b60

Please sign in to comment.