Skip to content

Commit 198d2df

Browse files
CI fix - deleting conda env before tests.
Fixing the caching issues with conda environments by deleting the environment before installing dependencies and running tests. This ensures that we are always working with a clean environment and prevents issues caused by stale dependencies or bytecode.
1 parent 77328e0 commit 198d2df

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16+
- name: Remove existing Conda environment
17+
run: conda env remove -n hotel_management || true
18+
1619
- name: Cache Conda packages
1720
uses: actions/cache@v4
1821
with:

0 commit comments

Comments
 (0)