-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
pytest-rerunfailures
installation by using apt instead of pip (#…
…1020) * Change installation of pytest-rerunfailures to use apt Signed-off-by: Cristóbal Arroyo <j.arroyo@uniandes.edu.co> * Initial commit * Remove os_code_name Signed-off-by: Cristóbal Arroyo <j.arroyo@uniandes.edu.co> --------- Signed-off-by: Cristóbal Arroyo <j.arroyo@uniandes.edu.co>
- Loading branch information
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
ros_buildfarm/templates/snippet/install_pytest-rerunfailures.Dockerfile.em
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@[if os_name == 'debian' or os_name == 'ubuntu']@ | ||
@# python3-pytest-rerunfailures is supported since Ubuntu jammy | ||
RUN for i in 1 2 3; do apt-get update && apt-get install -q -y python3-pytest-rerunfailures && apt-get clean && break || if [ $i -lt 3 ]; then sleep 5; else false; fi; done | ||
@[end if]@ |