CI: Limit parallel docker builds for performance on small machines (#2082)

This commit is contained in:
mmetc 2023-03-01 10:27:08 +01:00 committed by GitHub
parent 9ae99964e6
commit 3962daa3bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

2
.github/buildkit.toml vendored Normal file
View file

@ -0,0 +1,2 @@
[worker.oci]
max-parallelism = 2

View file

@ -96,4 +96,4 @@ jobs:
CROWDSEC_TEST_NETWORK: net-test
run: |
cd docker/test
pipenv run pytest --durations=0 --color=yes
pipenv run pytest -n 2 --durations=0 --color=yes