Skip to content

Commit 1fcbb1c

Browse files
committed
fix env import
1 parent 7687b15 commit 1fcbb1c

File tree

6 files changed

+19
-547
lines changed

6 files changed

+19
-547
lines changed

.github/workflows/ci-additional.yaml

Lines changed: 0 additions & 295 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,30 @@ jobs:
5555
create-args: >-
5656
python=3.10
5757
58-
- name: Install gedidb
58+
- name: Activate Conda & Install gedidb
59+
shell: bash -l {0}
5960
run: |
61+
micromamba activate gedidb-tests
6062
python -m pip install --no-deps -e .
6163
62-
- name: Version info
64+
- name: Check Installed Packages
65+
shell: bash -l {0}
6366
run: |
64-
python gedidb/utils/print_versions.py
67+
micromamba activate gedidb-tests
68+
python -c "import pkg_resources; print([d.project_name for d in pkg_resources.working_set])"
6569
66-
- name: Import gedidb
70+
- name: Verify gedidb Import
71+
shell: bash -l {0}
6772
run: |
73+
micromamba activate gedidb-tests
6874
python -c "import gedidb"
6975
76+
- name: Version info
77+
shell: bash -l {0}
78+
run: |
79+
micromamba activate gedidb-tests
80+
python gedidb/utils/print_versions.py
81+
7082
- name: Restore cached hypothesis directory
7183
uses: actions/cache@v4
7284
with:
@@ -76,7 +88,9 @@ jobs:
7688
save-always: true
7789

7890
- name: Run tests
91+
shell: bash -l {0}
7992
run: |
93+
micromamba activate gedidb-tests
8094
python -m pytest -n 4 --timeout 180 \
8195
--cov=gedidb --cov-report=xml --junitxml=pytest.xml
8296
@@ -96,4 +110,4 @@ jobs:
96110
flags: unittests
97111
env_vars: RUNNER_OS,PYTHON_VERSION
98112
name: codecov-umbrella
99-
fail_ci_if_error: false
113+
fail_ci_if_error: false

0 commit comments

Comments
 (0)