Skip to content

Remove down pinning of tokenizers and drop support for python3.8 (#212) #893

Remove down pinning of tokenizers and drop support for python3.8 (#212)

Remove down pinning of tokenizers and drop support for python3.8 (#212) #893

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 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" --no-cache
- 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 }}