FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-slack-sdk/scripts/run_tests.sh at main · slackapi/python-slack-sdk · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
slackapi
/
python-slack-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
856
Star
4k
Code
Issues
42
Pull requests
14
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-slack-sdk
/
scripts
/
run_tests.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
17 lines (12 loc) · 464 Bytes
Breadcrumbs
python-slack-sdk
/
scripts
/
run_tests.sh
Copy path
File metadata and controls
executable file
·
17 lines (12 loc) · 464 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!
/bin/bash
#
Run all the tests or a single test
#
all: ./scripts/run_tests.sh
#
single: ./scripts/run_tests.sh tests/slack_sdk_async/web/test_web_client_coverage.py
set
-e
script_dir=
`
dirname
$0
`
cd
${script_dir}
/..
test_target=
"
${1
:-
tests
/
}
"
echo
"
Generating code ...
"
&&
python scripts/codegen.py --path
.
echo
"
Running ruff (code formatter) ...
"
&&
./scripts/format.sh --no-install
echo
"
Running tests ...
"
PYTHONPATH=
$PWD
:
$PYTHONPATH
pytest
$test_target
Back
|
FazBrowse Home
|
New Git URL