Skip to content

Drop default api url for host of clients (#209) #881

Drop default api url for host of clients (#209)

Drop default api url for host of clients (#209) #881

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.12]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup Poetry
uses: Gr1N/setup-poetry@v9
- name: Install deps
run: poetry install --extras "dev" --extras "types"
- name: Lint with mypy
run: |
poetry run mypy aleph_alpha_client
poetry run mypy tests --ignore-missing-imports
- name: Run tests
run: |
poetry run pytest --color=yes
env:
TEST_API_URL: ${{ secrets.TEST_API_URL }}
TEST_TOKEN: ${{ secrets.TEST_TOKEN }}