Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Bump actions/setup-python from 4 to 5 (#6) #17

Bump actions/setup-python from 4 to 5 (#6)

Bump actions/setup-python from 4 to 5 (#6) #17

Workflow file for this run

on:
push:
paths:
- '**.py'
- '.github/pythonchecks.txt'
- '.github/workflows/python.yml'
pull_request:
paths:
- '**.py'
- '.github/pythonchecks.txt'
- '.github/workflows/python.yml'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.11', '3.12']
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install -y libgnutls28-dev
pip install -U pip
pip install -r .github/pythonchecks.txt
- name: Run tests
run: |
flake8 py --ignore=E501,W503,SFS301
mypy py --ignore-missing-imports