-
Notifications
You must be signed in to change notification settings - Fork 28
48 lines (36 loc) · 1.14 KB
/
app.yaml
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
39
40
41
42
43
44
45
46
47
48
# .github/workflows/app.yaml
name: PyTest
on: push
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository code
uses: actions/checkout@v2
# Setup Python (faster than using Python container)
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install Flake8
run: |
python -m pip install flake8
- name: Check using Flake8
run: |
flake8 --exit-zero
- name: Update pip
run: |
pip3 install --upgrade pip
- name: Install git
run: |
sudo apt-get install git
- name: Install dependencies
run: |
pip3 install num2words discord.py dnspython motor python-dateutil pytz quart python-decouple snowflake-id requests aiohttp sentry_sdk roblox sanic zuid pytest fuzzywuzzy levenshtein typing_extensions
- name: Install later dependencies
run: |
pip3 install --upgrade reactionmenu jishaku oauth2client gspread sentry_sdk[pymongo]
- name: Run test suite
run: |
pytest