Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

tests

tests #35

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
# 6:00 A.M UTC == 9:00 AM EAT
- cron: '0 6 * * *'
jobs:
test:
environment: test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Lint with ruff
run: poetry run ruff .
- name: Test with pytest
env:
SESSION_TOKEN: ${{ secrets.SESSION_TOKEN }}
CONVERSATION_ID: ${{ secrets.CONVERSATION_ID }}
run: poetry run pytest sengpt/re_gpt/async_/test.py -v