ReEdgeGPT Dev Ubuntu Python3.12 #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ReEdgeGPT Dev Ubuntu Python3.12 | |
on: | |
push: | |
branches: [ "dev", "main"] | |
schedule: | |
- cron: "0 8 * * *" | |
pull_request_target: | |
types: [assigned, opened, synchronize, reopened] | |
permissions: | |
contents: read | |
jobs: | |
build_dev_version: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip wheel | |
pip install -r ./test/dev_requirements.txt | |
- name: Test Bot | |
env: | |
EDGE_COOKIES: ${{ secrets.EDGE_COOKIES }} | |
run: python ./test/unit_test/back-end/test_bot/test_bot.py | |
- name: Test Generation Image | |
env: | |
IMAGE_COOKIE: ${{ secrets.IMAGE_COOKIE }} | |
run: python ./test/unit_test/back-end/test_generate_image/test_generation.py | |
# - name: Test chat with plugins | |
# env: | |
# EDGE_COOKIES: ${{ secrets.EDGE_COOKIES }} | |
# run: python ./test/unit_test/back-end/test_bot/test_bot_with_plugins_manual.py | |
- name: Test chat with file | |
env: | |
EDGE_COOKIES: ${{ secrets.EDGE_COOKIES }} | |
run: python ./test/unit_test/back-end/test_bot/test_bot_with_file.py |