Skip to content

Commit

Permalink
👷 Remove all caching
Browse files Browse the repository at this point in the history
  • Loading branch information
i-be-snek committed Oct 27, 2024
1 parent d40ddfd commit 47ca749
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,20 @@ on:
jobs:
test:
name: Run Tests
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: 1.1.13
virtualenvs-create: true
virtualenvs-in-project: true
- name: Set up cache
uses: actions/cache@v2
id: cached-poetry-dependencies
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
run: poetry install
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
- id: cache-lfs
name: Cache LFS files
uses: actions/[email protected]
with:
path: ${{ github.workspace }}/.lfs
key: lfs-${{ hashFiles('Database/data/*.csv') }}
restore-keys: lfs-
- name: Pull LFS files for testing
if: steps.cache-lfs.cache-hit != 'true'
run: git lfs pull --include "Database/data/*.csv"
env:
GIT_TRACE: 1
Expand Down

0 comments on commit 47ca749

Please sign in to comment.