-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trying to replicate state where the Github action worked.
- Loading branch information
Joona Oikarinen
committed
Sep 27, 2021
1 parent
3530052
commit 488d94d
Showing
2 changed files
with
5 additions
and
10 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
FROM python:3.9-slim-buster | ||
|
||
COPY setup.py / | ||
COPY flaky_tests_detection /flaky_tests_detection | ||
COPY setup.py /setup.py | ||
COPY flaky_tests_detection/check_flakes.py /check_flakes.py | ||
COPY entrypoint.sh /entrypoint.sh | ||
COPY README.md / | ||
COPY Makefile /Makefile | ||
COPY README.md /README.md | ||
|
||
RUN apt update && apt -y install make | ||
RUN make install | ||
RUN pip install -e . | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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 |
---|---|---|
@@ -1,5 +1,2 @@ | ||
#!/bin/sh | ||
|
||
. .venv/bin/activate | ||
flaky "$*" | ||
deactivate | ||
python /check_flakes.py $* |