Skip to content

Commit a1ea4e7

Browse files
committed
Use pip install for unit tests. Require integration tests to pass
1 parent 10b4d1e commit a1ea4e7

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
-
2222
name: Checkout Repo
2323
uses: actions/checkout@v4
24+
25+
# --- Modify paths in climada.conf ---
2426
-
2527
name: Write climada.conf system data
2628
uses: amochkin/action-json@v1
@@ -40,6 +42,8 @@ jobs:
4042
-
4143
run: |
4244
cat climada.conf
45+
# ---
46+
4347
-
4448
name: Install make
4549
uses: awalsh128/cache-apt-pkgs-action@v1
@@ -69,9 +73,7 @@ jobs:
6973
-
7074
name: Run Integration Tests
7175
run: |
72-
uv run -- python -c "from climada.util.constants import SYSTEM_DIR; print(SYSTEM_DIR)"
7376
make integ_test
74-
continue-on-error: true
7577
7678
build-and-test:
7779
name: 'Core / Unit Test Pipeline'
@@ -111,7 +113,8 @@ jobs:
111113
-
112114
name: Install dependencies
113115
run: |
114-
uv sync --locked --dev
116+
pip install -e ./
117+
pip install --group dev
115118
-
116119
name: Run Unit Tests
117120
run: |

0 commit comments

Comments
 (0)