Skip to content

Commit

Permalink
ci, docker: Parallelize tests with pytest-xdist
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Oct 6, 2022
1 parent 18e2d6e commit 8d191ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
--rm -v $(pwd):/work \
--workdir /work \
"ghcr.io/galoisinc/cclyzerpp-dev:${ref}" \
pytest -x
pytest -x -n=$(nproc)
- name: Build and push dist image
run: |
Expand Down
2 changes: 1 addition & 1 deletion docker/dev.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ RUN apt-get update && \
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${LLVM_VERSION} 60 && \
update-alternatives --install /usr/bin/opt opt /usr/bin/opt-${LLVM_VERSION} 60 && \
rm -rf /var/lib/apt/lists/*
RUN pip install pytest
RUN pip install pytest pytest-xdist
# TODO(lb): Sphinx, Mypy

0 comments on commit 8d191ab

Please sign in to comment.