Skip to content

Commit

Permalink
checkout submodules when needed and fix argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
marph91 committed Sep 28, 2024
1 parent 030b874 commit 532f464
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
os: ["windows-latest", "ubuntu-latest", "macos-latest"]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions src/jimmy_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def main():
help="Create a log file next to the executable.",
)
parser.add_argument(
"--no-progress-bar",
"--no-progress-bars",
action="store_false",
help="Disable the progress bar. Useful for tests.",
help="Disable the progress bars. Useful for tests.",
)

filters = parser.add_mutually_exclusive_group()
Expand Down
1 change: 1 addition & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh

set -x # echo the commands
set -e # fail if any command fails

export PYTHONPATH="$PYTHONPATH:src"
python -m unittest discover -v --buffer
Expand Down

0 comments on commit 532f464

Please sign in to comment.