Skip to content

Commit

Permalink
remove existing conda envs
Browse files Browse the repository at this point in the history
  • Loading branch information
splch committed Mar 13, 2024
1 parent 28477f7 commit 56f5da2
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/test_notebooks.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
name: Test Notebooks

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-22.04
Expand All @@ -23,6 +13,11 @@ jobs:
python-version: "3.11"
auto-activate-base: false

- name: Remove existing environment (if exists)
shell: bash -l {0}
run: |
conda env remove --name myenv || true
- name: Install dependencies and run tests
shell: bash -l {0}
run: |
Expand Down

0 comments on commit 56f5da2

Please sign in to comment.