Skip to content

Commit e2d9488

Browse files
committed
Refactor Inputs Pack and try fix semaphore
1 parent 0cab81a commit e2d9488

File tree

7 files changed

+1456
-966
lines changed

7 files changed

+1456
-966
lines changed

.semaphore/semaphore.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,24 @@ agent:
44
machine:
55
type: e1-standard-2
66
os_image: ubuntu2004
7+
78
blocks:
89
- name: Test
910
task:
10-
env_vars:
11-
- name: PIPENV_VENV_IN_PROJECT
12-
value: 'true'
1311
prologue:
1412
commands:
1513
- sem-version python 3.12
1614
- pip install --upgrade pip
17-
- pip install pipenv
18-
- 'export PATH=$HOME/.local/bin:$PATH'
15+
- pip install poetry
16+
- poetry config virtualenvs.in-project true
17+
- export PATH="$HOME/.local/bin:$PATH"
1918
- checkout
20-
- 'cache restore pipenv-$SEMAPHORE_GIT_BRANCH-$(checksum Pipfile.lock),pipenv-$SEMAPHORE_GIT_BRANCH,pipenv-master'
21-
- pipenv install --dev --ignore-pipfile
22-
- cache store pipenv-$SEMAPHORE_GIT_BRANCH-$(checksum Pipfile.lock) .venv
19+
- cache restore poetry-cache-$SEMAPHORE_GIT_BRANCH,poetry-cache-master
20+
- cache restore poetry-venv-$SEMAPHORE_GIT_BRANCH-$(checksum poetry.lock),poetry-venv-$SEMAPHORE_GIT_BRANCH
21+
- poetry install --with dev
22+
- cache store poetry-cache-$SEMAPHORE_GIT_BRANCH ~/.cache/pypoetry
23+
- cache store poetry-venv-$SEMAPHORE_GIT_BRANCH-$(checksum poetry.lock) .venv
2324
jobs:
2425
- name: Test
2526
commands:
26-
- pipenv run test
27+
- poetry run pytest

examples/example_input_excel.xlsx

-18 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)