Skip to content

remove torchtext dep #24

remove torchtext dep

remove torchtext dep #24

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
cache: 'pip'
- uses: pre-commit/action@v3.0.0
linux_checks:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install test requirements
shell: bash -l {0}
run: |
set -vxeuo pipefail
python -m pip install -r requirements.txt
python -m pip install .[dev]
python -m pip list
- name: Test with pytest
shell: bash -l {0}
run: |
set -vxeuo pipefail
pytest -v --cov=cortex