Skip to content

Commit

Permalink
Force error to check GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
vloothuis committed May 9, 2024
1 parent bea62a9 commit 7d3c978
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ COPY *.py /app
COPY *.joblib /app

ENTRYPOINT ["conda", "run", "-n", "eyra-rank", "python", "/app/run.py"]
CMD ["predict", "/data/fake_data.csv"]
CMD []
5 changes: 5 additions & 0 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,10 @@ def predict(data_path, background_data_path, output):


if __name__ == "__main__":
import sys

print("Forced error")
sys.exit(1)

args = parser.parse_args()
predict(args.data_path, args.background_data_path, args.output)

0 comments on commit 7d3c978

Please sign in to comment.