Skip to content

Commit fd6e11c

Browse files
committed
install causalml editable in github actions
1 parent 45f1bb3 commit fd6e11c

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/python-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
sudo apt install graphviz
2828
pip install --upgrade pip
2929
pip install --upgrade setuptools
30-
python -m pip install ".[test]"
30+
python -m pip install -e ".[test]"
3131
- name: Test with pytest
3232
run: pytest -vs tests/ --cov causalml/

.github/workflows/test-build-from-source.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- python-version: "3.12"
3232
python-version-nd: 312
3333
- tf-label: '-tf'
34-
tf-label-pip: '[tf]'
34+
tf-label-pip: ',tf'
3535

3636
steps:
3737
- name: checkout repository
@@ -70,8 +70,7 @@ jobs:
7070
run: |
7171
pip install -U pip
7272
pip install -U setuptools
73-
python -m pip install .${{ matrix.tf-label-pip}}
74-
python -m pip install ".[test]"
73+
python -m pip install -e ".[test${{ matrix.tf-label-pip}}]"
7574
7675
- name: Test with pytest
7776
run: pytest -vs tests/ --cov causalml/

0 commit comments

Comments
 (0)