Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/aiohttp-3.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gabegma committed Aug 1, 2023
2 parents 9fe29de + dde2f0c commit 6387938
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 101 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
with:
python-version: 3.9
- uses: Gr1N/setup-poetry@v8
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
- run: poetry --version
- name: Install dependencies
run: |
poetry install --extras cpu --no-interaction --no-ansi
poetry install --without dev,docs --extras cpu --no-interaction --no-ansi
- name: Test with pytest/flake8/mypy
env:
PYTEST_ADDOPTS: "--color=yes"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ COPY poetry.lock pyproject.toml /app/

WORKDIR /app
RUN poetry config virtualenvs.create false && \
poetry install --extras ${DEVICE} --no-interaction --no-ansi --no-root $(/usr/bin/test $STAGE == production && echo "--no-dev")
poetry install --extras ${DEVICE} --no-interaction --no-ansi --no-root $(/usr/bin/test $STAGE == production && echo "--without dev,test,docs")

# Install the project.
COPY . /app/
RUN poetry install --extras ${DEVICE} --no-interaction --no-ansi $(/usr/bin/test $STAGE == production && echo "--no-dev")
RUN poetry install --extras ${DEVICE} --no-interaction --no-ansi $(/usr/bin/test $STAGE == production && echo "--without dev,test,docs")
ENV CFG_PATH=
ENV LOAD_CONFIG_HISTORY=
ENV PORT=
Expand Down
Loading

0 comments on commit 6387938

Please sign in to comment.