mirror of
https://github.com/wassname/stampy-chat.git
synced 2026-09-09 11:36:23 +08:00
26 lines
501 B
YAML
26 lines
501 B
YAML
name: Run pytest
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up Python 3.11
|
|
uses: actions/setup-python@v3
|
|
with:
|
|
python-version: "3.11"
|
|
- name: Install dependencies
|
|
run: |
|
|
cd api
|
|
python -m pip install --upgrade pip
|
|
pip install pipenv
|
|
pipenv install --dev
|
|
- name: Test with pytest
|
|
run: |
|
|
cd api
|
|
pipenv run pytest
|