[PY] v0.6.2
: Update python client code to place Short-Term orders (…
#58
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
name: "[v4-client-py] Lint, Test" | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
paths: | |
- 'v4-client-py/**' | |
push: | |
paths: | |
- 'v4-client-py/**' | |
branches: | |
- main | |
- "release/*" | |
jobs: | |
# lint: | |
# runs-on: ubuntu-latest | |
# defaults: | |
# run: | |
# working-directory: ./v4-client-py | |
# steps: | |
# - name: Check out repository code | |
# uses: actions/checkout@v3 | |
# - name: Set up Python 3.11 | |
# uses: actions/setup-python@v4 | |
# with: | |
# python-version: 3.11 | |
# - name: Install Dependencies | |
# run: pip install -r requirements-lint.txt | |
# - name: Lint | |
# run: flake8 | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./v4-client-py | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install Dependencies | |
run: sudo pip install -r requirements-test.txt | |
- name: Run pytest | |
run: pytest |