Skip to content

Bump codecov/codecov-action from 3.1.5 to 3.1.6 #278

Bump codecov/codecov-action from 3.1.5 to 3.1.6

Bump codecov/codecov-action from 3.1.5 to 3.1.6 #278

Workflow file for this run

name: CI
on: [push, pull_request]
env:
COLORTERM: 'yes'
TERM: 'xterm-256color'
PYTEST_ADDOPTS: '--color=yes'
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
env:
PYTHON: ${{ matrix.python }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: prepare a redhat-uep.pem, even if we run on Ubuntu
run: sudo mkdir -p /etc/rhsm/ca/ && sudo curl -o /etc/rhsm/ca/redhat-uep.pem https://ftp.redhat.com/redhat/convert2rhel/redhat-uep.pem
- name: Install dependencies
run: pip install tox tox-gh-actions
- name: Run tests
run: tox
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.6
with:
env_vars: PYTHON