Skip to content

Actions(deps): Bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 #1022

Actions(deps): Bump peter-evans/create-pull-request from 6.0.5 to 6.1.0

Actions(deps): Bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 #1022

Workflow file for this run

# Copyright (C) 2021 Sebastian Pipping <sebastian@pipping.org>
# Licensed under GNU Affero GPL version 3 or later
name: Run Python test suite
on:
pull_request:
push:
schedule:
- cron: '0 3 * * 5' # Every Friday at 3am
jobs:
build_and_test:
strategy:
matrix:
python-version: [3.8, 3.12] # oldest and most recent version supported
name: Run Python test suite
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |-
set -x
python3 -m venv venv
source venv/bin/activate
pip3 install \
--disable-pip-version-check \
--ignore-installed \
pip setuptools wheel
pip3 install -r requirements.txt
pip3 check
diff -u0 \
<(sed -e '/^#/d' -e '/^$/d' requirements.txt | sort -f) \
<(pip3 freeze | sed -e '/^setuptools==/d' -e '/^wheel==/d' | sort -f)
- name: Run Python test suite
run: |-
set -x
source venv/bin/activate
python3 --version
coverage run -m pytest binary_gentoo
coverage report