mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-18 16:11:53 +03:00
32252def15
Fix typo in latest_version Fix Phind Provider Add unittest worklow and main tests
19 lines
399 B
YAML
19 lines
399 B
YAML
name: Unittest
|
|
|
|
on: [push]
|
|
|
|
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
|
|
run: python -m etc.unittest.main |