Skip to content

Fix - Testing CD

Fix - Testing CD #177

Workflow file for this run

name: pytest
on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: szenius/set-timezone@v1.2
with:
timezoneLinux: "America/Santiago"
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-md pytest-emoji
pip install pipenv
pipenv install --system --dev
- uses: pavelzw/pytest-action@v2
env:
SECRET_KEY: ${{ secrets.DJANGO_SECRET_KEY }}
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
AWS_REGION: us-east-2
with:
emoji: false