Skip to content

Commit

Permalink
Separate build and run docker option in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Krande authored Nov 7, 2021
1 parent d3b9cd2 commit 989424a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@ dtest:
mkdir -p "temp" && \
docker build -t ada/testing . && \
docker run --name ada-report --rm --mount type=bind,source="$(CURDIR)/temp",target=/home/tests/fem/temp ada/testing bash -c "pip install pytest && conda list && cd /home/tests/fem && pytest && python build_verification_report.py"

dtest-b:
mkdir -p "temp" && \
docker build -t ada/testing .

dtest-r:
docker run --name ada-report --rm --mount type=bind,source="$(CURDIR)/temp",target=/home/tests/fem/temp ada/testing bash -c "pip install pytest && conda list && cd /home/tests/fem && pytest && python build_verification_report.py"

0 comments on commit 989424a

Please sign in to comment.