gpt4free/.github/workflows/unittest.yml

26 lines
487 B
YAML
Raw Normal View History

name: Unittest
2024-01-21 04:38:24 +03:00
on:
pull_request:
types:
- opened
- synchronize
push:
branches:
- 'main'
jobs:
build:
name: Build unittest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
cache: 'pip'
- name: Install requirements
run: pip install -r requirements.txt
- name: Run tests
2024-01-21 04:20:23 +03:00
run: python -m etc.unittest