-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (55 loc) · 1.76 KB
/
pythonapp.yml
File metadata and controls
61 lines (55 loc) · 1.76 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
name: Python Delete Pictures File
on:
push:
paths:
- 'test_delete.py'
- 'test_delete2.py'
- 'test_delete3.py'
- 'requirements.txt'
- '.github/workflows/pythonapp.yml'
jobs:
build:
strategy:
# we should give github deside own speed max-parallel: 1
matrix:
python: [3.8, 3.9, 3.10.10, 3.11, 3.12]
#depricated versions 3.6, 3.7 and 3.8 in 18.10.2024
#We are moving to 3.6 -> versions should work on 3.5 version, also currently broken no 64Arch [3.12]
#UNdepricated versions from python 3.5 to python 3.11 in 16.02.2025
os: [ubuntu-20.04, ubuntu-latest] # we dont need windows currently, but is works currently [ windows-2019]
exclude:
#- os: ubuntu-latest
# python: 3.6
#- os: ubuntu-latest
# python: 3.7
- os: ubuntu-20.04
python: 3.8
- os: ubuntu-20.04
python: 3.9
- os: ubuntu-20.04
python: 3.10.10
- os: ubuntu-20.04
python: 3.11
- os: ubuntu-20.04
python: 3.12
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6.2.0
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
pip3 install pytest pytest-cov
# - name: Test test_delete.py with pytest
# run: |
# python3 -m pytest test_delete.py
# - name: Test test_delete2.py with pytest
# run: |
# python3 -m pytest test_delete2.py
- name: Test test_delete3.py with pytest and add report
run: |
python3 -m pytest test_delete3.py