Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
A-Baji committed Jul 9, 2024
1 parent f3f483f commit b9787dd
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -25,7 +25,17 @@ jobs:
- name: Install Package
run: pip install .
- name: Test Package
run: echo -e "none\nnone" | discordai -V
env:
PY_VER: ${{ matrix.py_ver }}
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
CHANNEL_ID: ${{ secrets.CHANNEL_ID }}
USERNAME: ${{ secrets.USERNAME }}
PYTHONUNBUFFERED: 1
run: |
touch .env.test
export VERSION=$(cat discordai_modelizer/version.py | grep -oP '\d+\.\d+\.\d+')
docker compose -f docker-compose-test.yaml up --build --exit-code-from tests
release:
if: |
github.event_name == 'push' &&

0 comments on commit b9787dd

Please sign in to comment.