Enhance streaming data by adding chain field #313
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: cliTests | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
env: | |
# include "slow" tests that make node requests, as well as mocks | |
POLYGONETL_RUN_SLOW_TESTS: false | |
POLYGONETL_PROVIDER_URI: ${{ secrets.POLYGONETL_PROVIDER_URI }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: polygon-etl cli tests | |
steps: | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8.12" | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip && | |
pip install \ | |
-r requirements_test.txt \ | |
-e cli[streaming] | |
- name: Run pytest on cli/tests | |
run: pytest -vv cli |