Skip to content

Bump actions/setup-python from 5.4.0 to 5.6.0 #221

Bump actions/setup-python from 5.4.0 to 5.6.0

Bump actions/setup-python from 5.4.0 to 5.6.0 #221

Workflow file for this run

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.6, 3.7, 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@v4
- name: Setup Python
uses: actions/setup-python@v5.6.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