Skip to content

Commit

Permalink
Move shell scripts into scripts directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Stormheg committed Nov 29, 2024
1 parent adc3197 commit 386e033
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Compile translations
run: |
/bin/sh ./compile_translations.sh
/bin/sh ./scripts/compile_translations.sh
- name: Run 'future' tests
id: test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- name: Compile translations
run: |
/bin/sh ./compile_translations.sh
/bin/sh ./scripts/compile_translations.sh
- name: Build package distributions
run: python -m build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- name: Compile translations
run: |
/bin/sh ./compile_translations.sh
/bin/sh ./scripts/compile_translations.sh
- name: Build package distributions
run: python -m build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
python -m pip install .[testing] tox coverage
- name: Compile translations
run: /bin/sh ./compile_translations.sh
run: /bin/sh ./scripts/compile_translations.sh

# This step runs only for jobs NOT in the include matrix
- name: Run tox targets for Python ${{ matrix.python }}
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ include = [
"sandbox/",
"client/",
"tests/",
"update_translations.sh",
"compile_translations.sh",
"scripts/",
"README.md",
"LICENSE",
"CHANGELOG.md",
Expand Down
File renamed without changes.
8 changes: 7 additions & 1 deletion run_e2e_testsuite.sh → scripts/run_e2e_testsuite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,10 @@ set -e
# ./run_e2e_testsuite.sh --tracing on

playwright install chromium
DJANGO_ALLOW_ASYNC_UNSAFE=1 python -m pytest --browser chromium --headed tests/e2e/ $@
if [ "$CI" ]; then
EXTRA_ARGS="--tracing on"
else
EXTRA_ARGS="--headed"
fi

DJANGO_ALLOW_ASYNC_UNSAFE=1 python -m pytest --browser chromium $EXTRA_ARGS tests/e2e/ $@
File renamed without changes.

0 comments on commit 386e033

Please sign in to comment.