Skip to content

Commit

Permalink
activate venv
Browse files Browse the repository at this point in the history
  • Loading branch information
last-partizan committed Jun 1, 2024
1 parent 77c6651 commit a9537ff
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,22 @@ jobs:
matrix:
python: ["3.10"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install deps
run: |
python -m pip install --upgrade poetry pip
python -m pip install --upgrade poetry
poetry install --sync --no-root
- name: Run linters
run: |
source $(poetry env info --path)/bin/activate
make lint
- name: Run type checking
run: |
source $(poetry env info --path)/bin/activate
make typecheck
- name: Test package install
run: |
Expand Down

0 comments on commit a9537ff

Please sign in to comment.