Skip to content

Commit

Permalink
github: test py2 on RHEL 7
Browse files Browse the repository at this point in the history
  • Loading branch information
ktdreyer committed Jul 18, 2023
1 parent eff2697 commit 3ce2aef
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,25 @@ name: tests
on: [push, pull_request]

jobs:
tox27:
runs-on: ubuntu-latest
container:
image: registry.access.redhat.com/rhel7:latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
yum -y install krb5-devel python2-devel python2-pip
pip install tox
- name: Test with tox
run: |
tox -e py27 -- errata_tool/tests
tox:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 5
matrix:
include:
- python-version: 2.7
os: ubuntu-20.04
- python-version: 3.6
os: ubuntu-20.04
- python-version: 3.9
Expand Down

0 comments on commit 3ce2aef

Please sign in to comment.