Skip to content

If I try to create a venv in my home dir, switch to a temp dir instead #469

If I try to create a venv in my home dir, switch to a temp dir instead

If I try to create a venv in my home dir, switch to a temp dir instead #469

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run linting
run: |
ruff check .
ruff format --check .
- name: Check README files with Cog
run: ./text/recog --check
- name: Run tests
run: |
find . -name 'test_*.py' -not -path './.venv/*' | sort | xargs pytest