Improve E2E test workflow

- Print versions of Timewarrior and Taskwarrior at the end of combined image build
  Clarify what 'develop'/'stable' means in this image
- Rename action stages
  Clarify that this builds and runs the e2e test Docker image
This commit is contained in:
Thomas Lauf 2024-11-22 14:05:06 +01:00
parent 61d6a457de
commit 501682f92c
3 changed files with 9 additions and 2 deletions

View file

@ -57,6 +57,9 @@ RUN mkdir -p ~/.task/hooks
RUN cp on_modify.py ~/.task/hooks/on-modify.timewarrior
RUN chmod +x ~/.task/hooks/on-modify.timewarrior
RUN echo "timew: $( timew --version )" ; \
echo "task: $( task --version )"
# Run tests
ENV TASK_USE_PATH=true TIMEW_USE_PATH=true
CMD [ "bash", "-c", "/venv/bin/pytest /task-on-modify-hook/test/test_on-modify_e2e.py"]

View file

@ -37,3 +37,7 @@ COPY --from=timew /usr/local/bin/timew /usr/local/bin
# Initialize Timewarrior
WORKDIR /root/
RUN timew :yes
# Print version information
RUN echo "timew: $( timew --version )" ; \
echo "task: $( task --version )"