Commit graph

14 commits

Author SHA1 Message Date
Thomas Lauf
2475f1ba0e Remove DB file instead of truncating it
Taskwarrior3 uses a SQLite DB file to store the task data.
Truncating the file corrupts the database, letting the tests fail.
Removing the DB file resets Taskwarrior as well, and works with 2 and 3.
2025-03-01 21:19:06 +01:00
Thomas Lauf
95212789e5 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
2024-11-22 21:59:33 +01:00
Felix Schurk
87a3426d81
prevent tags from being separated inbetween (#34)
Add workaround for the destructured tags from taskpirate

This includes a detection of the type of the tags and then converting it back to a list.
Unit tests for this behavior are also added.
2023-12-15 20:35:56 +01:00
Thomas Lauf
808b5b0d0c Add workflows to update Docker images for E2E tests 2023-02-01 08:48:42 +01:00
Thomas Lauf
29479d064e Add E2E tests 2023-02-01 08:48:42 +01:00
Thomas Lauf
487dfed981 Add unit tests 2023-02-01 08:48:42 +01:00
Thomas Lauf
431db0fb84 Rename hook script to on_modify.py
Rename test accordingly
2023-01-29 21:05:26 +01:00
Thomas Lauf
0937e80274 Update Copyright
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-05-10 21:43:26 +02:00
Thomas Lauf
eb9fb2bdc5 Mark byte literals
- #259

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-05-10 21:43:26 +02:00
Thomas Lauf
93aa943a7d Switch to python 3
- #259

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-05-10 21:43:26 +02:00
Thomas Lauf
2504493de6 Overhaul test
- Update example JSONs
- Test only for active time tracking
- Test resulting intervals, not resulting output

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-05-10 21:43:26 +02:00
Thomas Lauf
2a49f54d60 Add output of new-tag-warnings to check
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-05-10 21:43:26 +02:00
Thomas Lauf
a07ee6b31c Make Popen spawn intermediate shell
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-05-10 21:43:26 +02:00
Thomas Lauf
99116bcdd7 Rename test-file
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2021-05-10 21:43:26 +02:00