Skip to content

Commit

Permalink
add venv to test
Browse files Browse the repository at this point in the history
  • Loading branch information
aersam committed May 3, 2024
1 parent f3c4de9 commit ad6d41f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,19 @@ jobs:
- name: Install tooling dependencies
run: |
python -m pip install --upgrade pip
pip install maturin
pip install maturin pyright
- name: Create venv
run: python -m venv .venv
- name: Install Dependencies
run: |
pip install pytest polars pyarrow pytest-asyncio pyright python-dotenv docker pyright cffi
source .venv/bin/activate
pip install pytest polars pyarrow pytest-asyncio python-dotenv docker cffi
- name: Install Project
run: maturin develop
- name: pytest
shell: bash
run: pytest
run: |
source .venv/bin/activate
pytest
- name: Pyright
run: poetry run pyright .
run: pyright .

0 comments on commit ad6d41f

Please sign in to comment.