diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 9db7657d8..dc424b253 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -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/cache@v2.1.7 - 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