Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/workflows/build_deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,22 @@ on:
default: false

jobs:
integration_tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
- name: Run integration tests
env:
PIP_ROOT_USER_ACTION: ignore
run: |
python3 -m pip install -r requirements.txt
python3 -m pytest bot/tests/integration

build_and_test_staging:
needs: integration_tests
if: >-
(github.event_name == 'pull_request_review' && github.event.review.state == 'approved') ||
github.event_name == 'push' ||
Expand Down Expand Up @@ -99,7 +114,7 @@ jobs:
PIP_ROOT_USER_ACTION: ignore
run: |
python3 -m pip install -r requirements.txt
python3 -m pytest
python3 -m pytest bot/tests/e2e

build_production:
needs: build_and_test_staging
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1.0
4.1.1
Empty file added bot/tests/__init__.py
Empty file.
95 changes: 0 additions & 95 deletions bot/tests/administration/test_add_subscription.py

This file was deleted.

57 changes: 0 additions & 57 deletions bot/tests/administration/test_add_whitelist.py

This file was deleted.

30 changes: 0 additions & 30 deletions bot/tests/administration/test_admin_help.py

This file was deleted.

74 changes: 0 additions & 74 deletions bot/tests/administration/test_create_key.py

This file was deleted.

21 changes: 0 additions & 21 deletions bot/tests/administration/test_list_admins.py

This file was deleted.

28 changes: 0 additions & 28 deletions bot/tests/administration/test_list_keys.py

This file was deleted.

Loading
Loading