File tree Expand file tree Collapse file tree 11 files changed +482
-577
lines changed
tests/test_not_for_ci/ebikes Expand file tree Collapse file tree 11 files changed +482
-577
lines changed Original file line number Diff line number Diff line change @@ -47,3 +47,9 @@ test_output.xml
4747* .py,cover
4848.hypothesis /
4949.pytest_cache /
50+ .github /
51+ opt
52+ ** /run_data
53+ ** /statics
54+ .mypy_cache
55+ .git
Original file line number Diff line number Diff line change 4545 curl -sSL ${{ env.POETRY_URL }} | python - --version ${{ env.POETRY_VERSION }}
4646 echo "$HOME/.local/bin" >> $GITHUB_PATH
4747 - name : Install project
48- run : make install
48+ run : make install-extra
4949 - name : Run linter
5050 run : make lint
5151 # - name: Run tests
Original file line number Diff line number Diff line change 4141 curl -sSL ${{ env.POETRY_URL }} | python - --version ${{ env.POETRY_VERSION }}
4242 echo "$HOME/.local/bin" >> $GITHUB_PATH
4343 - name : Install project
44- run : make install
44+ run : make install-extra
4545 - name : Run linter
4646 run : make lint
4747 - name : Run tests
Original file line number Diff line number Diff line change 5353 curl -sSL ${{ env.POETRY_URL }} | python - --version ${{ env.POETRY_VERSION }}
5454 echo "$HOME/.local/bin" >> $GITHUB_PATH
5555 - name : Install project
56- run : make install
56+ run : make install-extra
5757 - name : Run linter
5858 run : make lint
Original file line number Diff line number Diff line change 4949 curl -sSL ${{ env.POETRY_URL }} | python - --version ${{ env.POETRY_VERSION }}
5050 echo "$HOME/.local/bin" >> $GITHUB_PATH
5151 - name : Install project
52- run : make install
52+ run : make install-extra
5353 - name : Run linter
5454 run : make lint
5555 - name : Run tests
Original file line number Diff line number Diff line change 5858 curl -sSL ${{ env.POETRY_URL }} | python - --version ${{ env.POETRY_VERSION }}
5959 echo "$HOME/.local/bin" >> $GITHUB_PATH
6060 - name : Install project
61- run : make install
61+ run : make install-extra
6262 - name : Build and publish to PyPI
6363 env :
6464 TWINE_USERNAME : __token__
Original file line number Diff line number Diff line change 11# Use an official Python 3.11 image based on Ubuntu
22FROM python:3.11-slim
33
4- # Install Playwright and dependencies
5- RUN pip install -U playwright && \
6- playwright install --with-deps
4+ # # Install Playwright and dependencies
5+ # RUN pip install -U playwright && \
6+ # playwright install --with-deps
77
88# Set the working directory in the container
99WORKDIR /testzeus-hercules
1010
1111# Copy only the necessary files for installation
1212COPY pyproject.toml poetry.lock /testzeus-hercules/
13- COPY .cache /testzeus-hercules/
1413
1514# Install Poetry
1615RUN pip install poetry
1716
1817# Install dependencies and the package
1918RUN poetry install --no-dev
20- RUN poetry run playwright install
19+ RUN poetry run playwright install --with-deps
2120
2221# Copy the rest of the project files
2322COPY . /testzeus-hercules
Original file line number Diff line number Diff line change @@ -15,9 +15,13 @@ show: ## Show the current environment.
1515 @echo " Current environment:"
1616 poetry env info && exit
1717
18+ .PHONY : install-extra
19+ install-extra : # # Install the project in dev mode.
20+ poetry install --all-extras && exit && poetry run playwright install --with-deps
21+
1822.PHONY : install
1923install : # # Install the project in dev mode.
20- poetry install --all-extras && exit && poetry run playwright install --with-deps
24+ poetry install && exit && poetry run playwright install --with-deps
2125
2226.PHONY : fmt
2327fmt : # # Format code using black & isort.
Original file line number Diff line number Diff line change @@ -74,15 +74,14 @@ pyparsing = "^3.1.2"
7474pypdfium2 = " ^4.30.0"
7575python-dotenv = " ^1.0.0"
7676python-json-logger = " ^2.0.7"
77- python-multipart = " ^0.0.9 "
77+ python-multipart = " ^0.0.18 "
7878pyyaml = " ^6.0.1"
7979regex = " ^2023.12.25"
8080requests = " ^2.31.0"
8181rich = " ^13.7.1"
8282rsa = " ^4.9"
8383shellingham = " ^1.5.4"
8484sniffio = " ^1.3.1"
85- starlette = " ^0.40.0"
8685tabulate = " ^0.9.0"
8786termcolor = " ^2.4.0"
8887tiktoken = " ^0.6.0"
@@ -91,8 +90,6 @@ tqdm = "^4.66.2"
9190typer = " ^0.12.3"
9291uritemplate = " ^4.1.1"
9392urllib3 = " ^2.2.3"
94- uvicorn = " ^0.30.3"
95- uvloop = " ^0.21.0"
9693watchfiles = " ^0.24.0"
9794websockets = " ^13.1"
9895typing-extensions = " ^4.12.2"
@@ -109,7 +106,6 @@ sentry-sdk = "^2.18.0"
109106setuptools = " ^75.3.0"
110107wheel = " ^0.44.0"
111108playwright-recaptcha = " ^0.5.1"
112- twine = " ^5.1.1"
113109junit2html = " ^31.0.2"
114110anthropic = " ^0.39.0"
115111pandas = " ^2.2.3"
You can’t perform that action at this time.
0 commit comments