-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from 4rumprom/Async
Async for issue #11
- Loading branch information
Showing
3 changed files
with
92 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Test async | ||
|
||
jobs: | ||
scheduled: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Checkout repo | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.11 | ||
- uses: actions/cache@v2 | ||
name: Configure pip caching | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Install Python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install playwright | ||
python -m pip install playwright-stealth | ||
python -m pip install pyotp | ||
python -m pip install python-vipaccess | ||
python -m pip install python-dotenv | ||
python -m playwright install firefox | ||
- name: run test | ||
env: | ||
PYTHONPATH: ${{ github.workspace }} | ||
SCHWAB_USERNAME: ${{ secrets.SCHWAB_USERNAME }} | ||
SCHWAB_PASSWORD: ${{ secrets.SCHWAB_PASSWORD }} | ||
SCHWAB_TOTP: ${{ secrets.SCHWAB_TOTP }} | ||
run: python example/example.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,4 +61,4 @@ | |
|
||
orders = api.orders_v2() | ||
|
||
pprint.pprint(orders) | ||
pprint.pprint(orders) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters