Ignore extension suffixes if the interpreter is Python 2 #97
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test the shim | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- base_image: fedora:latest | |
install_deps_cmd: dnf -y install git-core python3-pip python3-rpm | |
- base_image: centos:stream9 | |
install_deps_cmd: dnf -y install git-core python3-pip python3-rpm | |
- base_image: registry.access.redhat.com/ubi9:latest | |
install_deps_cmd: dnf -y install git-core python{3,3.11}-pip python3-rpm && python3 -m pip install -U requests && python3.11 -m pip install -U requests | |
- base_image: ubi8:latest | |
install_deps_cmd: dnf -y install git-core python3-pip python3-rpm | |
- base_image: opensuse/leap:latest | |
install_deps_cmd: zypper -n install git-core python3-pip python3-rpm | |
- base_image: ubuntu:latest | |
install_deps_cmd: apt-get -y update && apt-get -y install git python3-pip python3-rpm | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run the tests | |
env: | |
BASE_IMAGE: ${{ matrix.base_image }} | |
INSTALL_DEPS_CMD: ${{ matrix.install_deps_cmd }} | |
run: make test |