Skip to content

Commit

Permalink
FIXME: pytest-tap
Browse files Browse the repository at this point in the history
  • Loading branch information
swick committed Dec 4, 2024
1 parent 069625e commit 70bcf86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ RUN apt install -y --no-install-recommends \
# Install meson
RUN apt install -y --no-install-recommends meson

# Install pip
RUN apt install -y --no-install-recommends python3-pip

# Install pytest
RUN apt install -y --no-install-recommends \
python3-pytest \
Expand All @@ -52,9 +55,7 @@ RUN apt install -y --no-install-recommends \
libumockdev-dev \
umockdev \
gir1.2-umockdev-1.0

# Install pip
RUN apt install -y --no-install-recommends python3-pip
RUN pip install --user --break-system-packages pytest-xdist pytest-tap

# Install doc dependencies
RUN pip install --user --break-system-packages furo">=2024.04.27" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env:
IMAGE_TAG: 20241204-1
IMAGE_TAG: 20241204-2

on:
workflow_call:
Expand Down
2 changes: 1 addition & 1 deletion tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ if enable_pytest
foreach pytest_file : pytest_files
testname = pytest_file.replace('.py', '')

exec = [pytest.full_path(), installed_tests_dir / 'tests'] + pytest_args + ['--tap', '-k', testname]
exec = [pytest.full_path(), installed_tests_dir / 'tests'] + pytest_args + ['-k', testname]
exec = ' '.join(exec)

data = configuration_data()
Expand Down

0 comments on commit 70bcf86

Please sign in to comment.