Skip to content

migrate apps to vinext and clean nextjs artifacts #55

migrate apps to vinext and clean nextjs artifacts

migrate apps to vinext and clean nextjs artifacts #55

Workflow file for this run

name: Python Tests
on:
pull_request:
push:
branches: [main, q1-genesis]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: |
poc/requirements-dev.txt
poc/requirements.txt
- name: Restore Python venv cache
id: cache-python-venv
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: .venv
key: ${{ runner.os }}-py311-venv-${{ hashFiles('poc/requirements-dev.txt', 'poc/requirements.txt') }}
- name: Install dependencies
if: steps.cache-python-venv.outputs.cache-hit != 'true'
run: |
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
pip install --prefer-binary -r poc/requirements-dev.txt
- name: Run test suite
run: .venv/bin/pytest poc/tests/ -v