This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
Bump tox from 4.6.4 to 4.8.0 #910
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: Python Unit Tests | |
on: | |
push: | |
schedule: | |
- cron: "0 7 * * 1" | |
jobs: | |
unit_test: | |
strategy: | |
max-parallel: 4 | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.10"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install libcurl-devel | |
run: | | |
sudo apt-get 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 3.10 | |
run: | | |
tox -e unit_tests | |
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 |