Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/Dockerfile.buster
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ ARG DEBIAN_FRONTEND=noninteractive

COPY tests/python/requirements.txt /tmp/

RUN echo "deb http://archive.debian.org/debian buster main" > /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian buster-updates main" >> /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian buster-backports main" >> /etc/apt/sources.list

RUN apt-get update && \
apt-get install -y --no-install-recommends apt-utils ca-certificates gnupg wget lsb-release && \
echo "deb https://archive.debian.org/debian buster-backports main" >> /etc/apt/sources.list && \
wget -qO /etc/apt/trusted.gpg.d/vkpartner.asc https://artifactory-external.vkpartner.ru/artifactory/api/gpg/key/public && \
echo "deb https://artifactory-external.vkpartner.ru/artifactory/kphp buster main" >> /etc/apt/sources.list && \
wget -qO - https://debian.octopuce.fr/snapshots/sury-php/buster-latest/apt.gpg | apt-key add - && \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 0

- name: Install clang-format
run: sudo apt install -y clang-format-18
run: sudo apt-get install -y clang-format-18

- name: Run clang-format on changed files
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ They perform complex scenarios like: compile and start HTTP server, send request

Before running them, you should once perform a setup:
```bash
pip3 install --user -r PHP/tests/python/requirements.txt
pip3 install --user -r tests/python/requirements.txt
```

To run, use just one-line command:
Expand Down
1 change: 1 addition & 0 deletions tests/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ requests==2.31.0
urllib3==1.26.12
requests-toolbelt==0.9.1
pytest==7.3.1
pytest-durations==1.2.0
pytest-mysql==2.3.1
pytest-postgresql==4.1.1
psycopg==3.1.9
Expand Down
1 change: 1 addition & 0 deletions tests/python/tests/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[pytest]
addopts = -v
markers =
k2_skip: mark a test as k2 skip
k2_skip_suite: mark test suite as k2 skip
Expand Down
Loading