Skip to content

Commit

Permalink
Make sure tree command is installed for functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Nov 24, 2020
1 parent 6413632 commit 8d1ec14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test_functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Apt-Get
run: |
sudo apt-get update
sudo apt-get install -y sqlite3
sudo apt-get install -y sqlite3 tree
- name: Add .github/bin/ to PATH
# Sets up mocked mail command & any other custom executables
Expand Down
3 changes: 3 additions & 0 deletions tests/functional/cylc-clean/00-basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
# Test the cylc clean command

. "$(dirname "$0")/test_header"
if ! command -v 'tree' >'/dev/null'; then
skip_all '"tree" command not available'
fi
set_test_number 5

create_test_global_config "" "
Expand Down

0 comments on commit 8d1ec14

Please sign in to comment.