Skip to content

Commit

Permalink
ci: Use shell: bash when running multiple commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jun 6, 2023
1 parent a68f3e2 commit 8924053
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
env:
PYTHONWARNINGS: error
DATABASE_URL: postgresql://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres
shell: bash
run: |
./manage.py migrate
./manage.py makemigrations --check --dry-run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- run: pip install -r requirements.txt
- run: python manage.py makemessages -a
- name: Count incomplete translations
shell: bash
run: |
output=$(find . -name LC_MESSAGES -not -path "*/en_US/*" -exec pocount --incomplete --short "{}" +)
echo $output
Expand Down
1 change: 1 addition & 0 deletions docs/python/ci.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ If the package has optional support for `orjson <https://pypi.org/project/orjson
# "orjson does not support PyPy" and fails to install. https://pypi.org/project/orjson/
- if: matrix.python-version != 'pypy-3.7'
name: Test
shell: bash
run: |
coverage run --append --source=PACKAGENAME -m pytest
pip install orjson
Expand Down
1 change: 1 addition & 0 deletions docs/python/samples/i18n/babel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
pybabel extract -F babel.cfg -o locale/sphinx.pot -k '_ l_ lazy_gettext' .
pybabel update -i locale/sphinx.pot -d locale -D sphinx
- name: Count incomplete translations
shell: bash
run: |
output=$(find . -name LC_MESSAGES -exec pocount --incomplete --short "{}" +)
echo $output
Expand Down

0 comments on commit 8924053

Please sign in to comment.