Skip to content

Commit

Permalink
revert stuff and fix the error
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger committed Nov 25, 2024
1 parent 0ae7243 commit 1e6c31b
Show file tree
Hide file tree
Showing 6 changed files with 195 additions and 188 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_test_futures_public.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
uv pip install ".[test]"
- name: Testing Futures REST endpoints
run: pytest -vv -m " not futures_auth and not futures_websocket" tests
run: pytest -vv -m "futures and not futures_auth and not futures_websocket" tests

- name: Testing Futures websocket endpoints
run: pytest -vv -m "not futures_auth and futures_websocket" tests
run: pytest -vv -m "futures and not futures_auth and futures_websocket" tests
18 changes: 9 additions & 9 deletions .github/workflows/_test_spot_private.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
name: Test ${{ inputs.os }} ${{ inputs.python-version }}
runs-on: ${{ inputs.os }}
timeout-minutes: 10
# concurrency: # FIXME
# group: test_spot_private
# cancel-in-progress: true
concurrency:
group: test_spot_private
cancel-in-progress: true
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
Expand Down Expand Up @@ -80,14 +80,14 @@ jobs:
echo "$env:GITHUB_WORKSPACE\.venv\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
uv pip install ".[test]"
# - name: Testing Spot REST endpoints # FIXME
# env:
# SPOT_API_KEY: ${{ secrets.SPOT_API_KEY }}
# SPOT_SECRET_KEY: ${{ secrets.SPOT_SECRET_KEY }}
# run: pytest -vv -m "spot_auth and not spot_websocket" tests
- name: Testing Spot REST endpoints
env:
SPOT_API_KEY: ${{ secrets.SPOT_API_KEY }}
SPOT_SECRET_KEY: ${{ secrets.SPOT_SECRET_KEY }}
run: pytest -vv -m "spot and spot_auth and not spot_websocket" tests

- name: Testing Spot websocket client
env:
SPOT_API_KEY: ${{ secrets.SPOT_API_KEY }}
SPOT_SECRET_KEY: ${{ secrets.SPOT_SECRET_KEY }}
run: pytest -vv --log-cli-level=DEBUG -m wip tests # "spot_auth and spot_websocket" # FIXME
run: pytest -vv "spot and spot_auth and spot_websocket" tests
Loading

0 comments on commit 1e6c31b

Please sign in to comment.