Skip to content

Commit 6dad87a

Browse files
committed
Switched to use pip instead of poetry
1 parent 435e509 commit 6dad87a

1 file changed

Lines changed: 3 additions & 30 deletions

File tree

.github/workflows/staging-deploy.yml

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -19,47 +19,20 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
python-version: ["3.12"]
22+
python-version: ["3.8", "3.12"]
2323
steps:
2424
- name: Checkout
2525
uses: actions/checkout@v4
26-
with:
27-
fetch-depth: 0
28-
lfs: true
29-
- name: pull lfs files
30-
run: git lfs pull
31-
- name: Verify LFS files
32-
run: git lfs ls-files
3326
- name: Set up Python ${{ matrix.python-version }}
3427
id: python-setup
3528
uses: actions/setup-python@v5
3629
with:
3730
python-version: ${{ matrix.python-version }}
3831

39-
- name: Load cached Poetry installation
40-
id: poetry-cache
41-
uses: actions/cache@v4
42-
with:
43-
path: ~/.local
44-
key: poetry-0
45-
46-
- name: Install and configure Poetry
47-
if: steps.poetry-cache.outputs.cache-hit != 'true'
48-
uses: snok/install-poetry@v1
49-
with:
50-
virtualenvs-in-project: true
51-
52-
- name: Load cached venv
53-
id: dependencies-cache
54-
uses: actions/cache@v3
55-
with:
56-
path: .venv
57-
key: venv-${{ runner.os }}-${{ steps.python-setup.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
58-
5932
- name: Install dependencies
60-
if: steps.dependencies-cache.outputs.cache-hit != 'true'
6133
run: |
62-
poetry install --with dev --no-interaction --no-root
34+
python -m venv .venv
35+
.venv/bin/pip install -r requirements.txt
6336
6437
# TODO: add linting / black / flake8
6538
# - name: Lint with flake8

0 commit comments

Comments
 (0)