Skip to content

Commit 89149da

Browse files
committed
Fix github actions on push by switching to pip only
1 parent 13a1eaa commit 89149da

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

.github/workflows/github-actions-ci.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,20 @@ jobs:
66
run-tests:
77
runs-on: ubuntu-22.04
88

9-
defaults:
10-
run:
11-
shell: bash -el {0}
12-
139
steps:
1410
- name: Checkout repository
15-
uses: actions/checkout@v4.1.2
11+
uses: actions/checkout@v4
1612

17-
- name: Setup conda with mamba
18-
uses: conda-incubator/setup-miniconda@v3
13+
- name: Set up Python
14+
uses: actions/setup-python@v5
1915
with:
20-
mamba-version: "*"
21-
python-version: 3.10
22-
auto-activate-base: false
23-
activate-environment: geo_deep_env
16+
python-version: "3.10"
17+
cache: "pip"
2418

25-
- name: Install pip requirements
26-
run: pip install -r requirements.txt
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install -r requirements.txt
2723
28-
- name: Run tests with pytest
24+
- name: Run tests
2925
run: pytest tests/

0 commit comments

Comments
 (0)