Update coveralls requirement from ~=3.3.1 to ~=4.0.1 #203
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: [3.12.2] | |
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 Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: '6.6.1' | |
setup-python: 'false' | |
# mirror: 'http://mirrors.ocf.berkeley.edu/qt/' | |
- name: Install python dependencies | |
run: | | |
pip3 install --upgrade pip | |
pip3 install -r requirements.txt | |
pip3 install -r requirements_dev.txt | |
- name: Tests and coverage | |
env: | |
QT_QPA_PLATFORM: offscreen | |
run: | | |
invoke coverage | |
- name: Lint | |
run: | | |
invoke lint | |
- name: Coveralls report | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
coveralls --service=github |