Skip to content

Commit

Permalink
ci/docker-entrypoint.sh: script cleanups
Browse files Browse the repository at this point in the history
Signed-off-by: Shreenidhi Shedi <[email protected]>
  • Loading branch information
sshedi committed Apr 29, 2024
1 parent 1318898 commit 6540db6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ci/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ rm -rf build
mkdir -p build
cd build || exit 1

JOBS=$(nproc)

mkdir -p /usr/lib/sysimage/tdnf
cmake -DHISTORY_DB_DIR=/usr/lib/sysimage/tdnf .. && make -j32 && make check -j32 || exit
cmake -DHISTORY_DB_DIR=/usr/lib/sysimage/tdnf .. || exit 1
make -j${JOBS} || exit 1
make check -j${JOBS} || exit 1

if ! flake8 ../pytests ; then
echo "flake8 tests failed"
Expand Down

0 comments on commit 6540db6

Please sign in to comment.