Skip to content

Skip: Update dependency test/pytest to v8 (merge commit) #2585

Skip: Update dependency test/pytest to v8 (merge commit)

Skip: Update dependency test/pytest to v8 (merge commit) #2585

Workflow file for this run

name: Python Unit Tests
on: [push]
jobs:
unit_test:
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install libcurl-devel
run: |
sudo apt update
sudo apt-get install libcurl4-openssl-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions coverage
- name: Run unit tests for python ${{ matrix.python-version }}
run: |
tox -e py312
coverage lcov -o lcov.info
- name: Send coverage to coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: lcov.info