ci: use python-node runner image for fast dependency installs
Some checks failed
CI / test (push) Failing after 52s

This commit is contained in:
jlightner 2026-04-03 07:04:44 +00:00
parent 590e58d3a7
commit fd01c31c4a

View file

@ -8,24 +8,18 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: python-node
defaults: defaults:
run: run:
working-directory: services/api working-directory: services/api
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Python
run: |
apt-get update && apt-get install -y python3 python3-pip python3-venv
python3 -m venv /tmp/venv
echo "PATH=/tmp/venv/bin:$PATH" >> $GITHUB_ENV
- name: Install dependencies - name: Install dependencies
run: /tmp/venv/bin/pip install -e ".[dev]" run: pip install -e ".[dev]"
- name: Lint - name: Lint
run: /tmp/venv/bin/ruff check app/ tests/ run: ruff check app/ tests/
- name: Run tests - name: Run tests
run: /tmp/venv/bin/python -m pytest tests/ -v run: python -m pytest tests/ -v