-
Notifications
You must be signed in to change notification settings - Fork 0
72 lines (55 loc) · 1.69 KB
/
python-ci.yml
File metadata and controls
72 lines (55 loc) · 1.69 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: Python CI
on:
push:
pull_request:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install python-dateutil
- name: Run OOP tests
run: |
pytest "OOP_Exercises/tests"
- name: Run String Exercise tests
run: |
pytest "String Exercise/tests"
- name: Run Functions Exercise tests
run: |
pytest "Functions Exercise/tests"
- name: Run Fast Tests
run: |
pytest "Random Data Generation Exercise/tests"
- name: Run Python Input and Output Exercise tests
run: |
pytest "Python_Input_and_Output_Exercise/tests"
- name: Run Data Structure Exercise tests
run: |
pytest "Data Structure Exercise/tests"
- name: Run Date and Time Exercise tests
run: |
pytest "Date and Time Exercise/tests"
- name: Run Loop Exercise tests
run: |
pytest "Loop_Exercise/tests"
- name: Run File Handling Exercises tests
run: |
pytest "File Handling Exercises/tests"
- name: Run Python Basic Exercise tests
run: |
pytest "Python Basic Exercise/tests"
- name: Run Python List Exercise tests
run: |
pytest "Python List Exercise/tests"
- name: Run Python Dictionary Exercise tests
run: |
pytest "Python Dictionary Exercise/tests"