Skip to content

Merge pull request #413 from LuisAlejandro/dependabot/pip/setuptools-… #466

Merge pull request #413 from LuisAlejandro/dependabot/pip/setuptools-…

Merge pull request #413 from LuisAlejandro/dependabot/pip/setuptools-… #466

Workflow file for this run

name: Push
on:
push:
branches:
- master
- develop
jobs:
build:
name: Build
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- python-version: "3.9"
toxenv: "py39"
- python-version: "3.10"
toxenv: "py310"
- python-version: "3.11"
toxenv: "py311"
- python-version: "3.12.0-rc.2"
toxenv: "py312"
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Installing dependencies
run: |
sudo apt-get install libxml2-dev libxslt-dev
python3 -m pip install -r requirements-dev.txt
python3 -m pip install -r requirements.txt
- name: Measuring coverage
env:
TOXENV: ${{ matrix.toxenv }}
PYTHON_VERSION: ${{ matrix.python-version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tox -e ${TOXENV}
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-py${{ matrix.python-version }}
path-to-lcov: ./.lcov
parallel: true
finish:
name: Finish
runs-on: ubuntu-22.04
needs: build
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true