forked from exit-zero-academy/PolybotServicePython
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 1.06 KB
/
project_auto_testing.yaml
File metadata and controls
38 lines (33 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Project auto-testing
on:
push:
branches:
- main
permissions: {}
jobs:
TestImgProcessingBotApp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: exit-zero-academy/PolybotServicePython
path: PolybotServicePythonOriginal
- name: Copy test files
run: mv -f PolybotServicePythonOriginal/polybot/test/* polybot/test/
- name: Install dependencies
run: |
pip install -r polybot/requirements.txt
- name: Test filters
run: |
echo -e "\n\nTesting concat()\n"
python -m polybot.test.test_concat
echo -e "\n\nTesting rotate()\n"
python -m polybot.test.test_rotate
echo -e "\n\nTesting salt_n_pepper()\n"
python -m polybot.test.test_salt_n_pepper
echo -e "\n\nTesting segment()\n"
python -m polybot.test.test_segment
- name: Test bot
run: |
python -m polybot.test.test_telegram_bot