Skip to content

Commit

Permalink
fix: switch to report as testing mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
dhth committed Aug 15, 2024
1 parent 2894288 commit 2f21411
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/back-compat-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
rm hours_head
- name: Run last version
run: |
/var/tmp/hours_main --dbpath=/var/tmp/throwaway-1.db log today -p
/var/tmp/hours_main --dbpath=/var/tmp/throwaway-1.db report 3d -p
/var/tmp/hours_main --dbpath=/var/tmp/throwaway-2.db gen -y
- name: Run current version
run: |
/var/tmp/hours_head --dbpath=/var/tmp/throwaway-1.db log today -p
/var/tmp/hours_head --dbpath=/var/tmp/throwaway-2.db log today -p
/var/tmp/hours_head --dbpath=/var/tmp/throwaway-1.db report 3d -p
/var/tmp/hours_head --dbpath=/var/tmp/throwaway-2.db report 3d -p
6 changes: 3 additions & 3 deletions .github/workflows/back-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
rm hours_head
- name: Run last version
run: |
/var/tmp/hours_prev --dbpath=/var/tmp/throwaway-1.db log today -p
/var/tmp/hours_prev --dbpath=/var/tmp/throwaway-1.db report 3d -p
/var/tmp/hours_prev --dbpath=/var/tmp/throwaway-2.db gen -y
- name: Run current version
run: |
/var/tmp/hours_head --dbpath=/var/tmp/throwaway-1.db log today -p
/var/tmp/hours_head --dbpath=/var/tmp/throwaway-2.db log today -p
/var/tmp/hours_head --dbpath=/var/tmp/throwaway-1.db report 3d -p
/var/tmp/hours_head --dbpath=/var/tmp/throwaway-2.db report 3d -p
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ jobs:
- name: run hours
run: |
go build .
./hours --dbpath=/var/tmp/throwaway-1.db log today -p
./hours --dbpath=/var/tmp/throwaway-1.db report 3d -p
./hours --dbpath=/var/tmp/throwaway-2.db gen -y
./hours --dbpath=/var/tmp/throwaway-2.db report 3d -p

0 comments on commit 2f21411

Please sign in to comment.