feat: Fix tests on github actions

Add better panic

chore: Use unwrap instead of ? for debugging ♻️

chore: Remove table tests ♻️

chore: Make terminal::size unwrap to default values ♻️

chore: Move reader creation to inside init check ♻️

fix: Change total_tasks in tests 🐛

fix: Change default height 🐛

chore: Print taskwarrior version ♻️

chore: Build taskwarrior from source for tests ♻️

chore: Checkout v2.6.1 of taskwarrior for tests ♻️

chore: Use ? instead of unwrap ♻️

chore: fix tests ♻️
This commit is contained in:
Dheepak Krishnamurthy 2022-04-27 16:11:10 -06:00
parent 5ffa14d64b
commit 8b26a8a688
4 changed files with 19 additions and 27 deletions

View file

@ -31,13 +31,22 @@ jobs:
profile: minimal
toolchain: stable
override: true
- run: sudo apt-get update && sudo apt-get install -y taskwarrior
- run: sudo apt-get update
- name: Compile taskwarrior
run: |
cd /tmp
git clone https://github.com/GothenburgBitFactory/taskwarrior
cd taskwarrior
git checkout v2.6.1
cmake -DCMAKE_BUILD_TYPE=release -DENABLE_SYNC=OFF .
make
sudo make install
- uses: actions/checkout@v2
with:
repository: kdheepak/taskwarrior-testdata
path: taskwarrior-testdata
- run: |
ulimit -a
task --version
- run: |
# prepare taskwarrior, initial setup
task rc.confirmation=off || echo 0