Skip to content

Commit

Permalink
Remove env cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Jan 13, 2025
1 parent 68fb7d2 commit 0e97dd7
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Restore cached virtualenv
uses: actions/cache/restore@v4
with:
key: venv-${{ runner.os }}-py-${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }}
path: .venv
- name: Install dependencies
run: |
python -m venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txt
pip install .
- name: Save cached virtualenv
uses: actions/cache/save@v4
with:
key: venv-${{ runner.os }}-py-${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }}
path: .venv
- name: Run ruff
run: |
source .venv/bin/activate
Expand Down Expand Up @@ -70,22 +60,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Restore cached virtualenv
uses: actions/cache/restore@v4
with:
key: venv-${{ runner.os }}-py-${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }}
path: .venv
- name: Install dependencies
run: |
python -m venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txt
pip install .
- name: Save cached virtualenv
uses: actions/cache/save@v4
with:
key: venv-${{ runner.os }}-py-${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }}
path: .venv
- name: Run tests with coverage
run: |
source .venv/bin/activate
Expand Down Expand Up @@ -114,23 +94,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Restore cached virtualenv
uses: actions/cache/restore@v4
with:
key: venv-${{ runner.os }}-py-${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }}
path: .venv
- name: Install dependencies
run: |
python -m venv .venv
.venv/Scripts/activate
pip install -r requirements-dev.txt
pip install .
pip install tzdata
- name: Save cached virtualenv
uses: actions/cache/save@v4
with:
key: venv-${{ runner.os }}-py-${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }}
path: .venv
- name: Run tests with coverage
run: |
.venv/Scripts/activate
Expand Down

0 comments on commit 0e97dd7

Please sign in to comment.