Skip to content

chore(deps): update github/codeql-action action to v2.22.4 (#229) #546

chore(deps): update github/codeql-action action to v2.22.4 (#229)

chore(deps): update github/codeql-action action to v2.22.4 (#229) #546

Workflow file for this run

name: Workflow for Codecov
on: [push]
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.8]
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pycurl requirement
run: sudo add-apt-repository universe && sudo apt-get update && sudo apt-get install libcurl4-gnutls-dev libgnutls28-dev
- name: Install Pipenv
uses: dschep/install-pipenv-action@v1
- name: Install dependencies
run: pipenv install --system --dev
- name: Generate coverage report
run: |
make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
directory: ./
flags: unittests
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: true
path_to_write_report: ./.github/codecov_report.gz
permissions:
contents: read