Skip to content

Commit

Permalink
👷 Improve mutation testing caching (#31)
Browse files Browse the repository at this point in the history
* 👷 Updating caching to have extra restore keys

* 🔖 Bumping version

* 🔖 Bumping version

* 🔖 Bumping version
  • Loading branch information
jossmoff authored Nov 12, 2023
1 parent 8f43b82 commit 194e0ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ jobs:
uses: actions/cache/restore@v3
with:
path: .mutmut-cache
key: ${{ runner.os }}-mutmut-cache-${{ hashFiles('bookshelf/*.py') }}
key: mutmut-cache-${{ github.head_ref }}-${{ hashFiles('bookshelf/*.py') }}
restore-keys: |
mutmut-cache-${{ github.head_ref }}
mutmut-cache-main
- name: 🦠 Run Mutation Tests
run: |
Expand All @@ -54,4 +57,4 @@ jobs:
uses: actions/cache/save@v3
with:
path: .mutmut-cache
key: ${{ runner.os }}-mutmut-cache-${{ hashFiles('bookshelf/*.py') }}
key: mutmut-cache-${{ github.head_ref }}-${{ hashFiles('bookshelf/*.py') }}
2 changes: 1 addition & 1 deletion bookshelf/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.0"
__version__ = "0.3.3"

0 comments on commit 194e0ab

Please sign in to comment.