Bump matplotlib from 3.8.0 to 3.8.2 #175
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
# This workflow will install Python dependencies and run tests with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: build | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
# Sync with Pipfile | |
python-version: "3.10" | |
- name: Install missing package and fake XServer | |
run: | | |
# Work around missing deps: https://bugreports.qt.io/browse/PYSIDE-1547 | |
sudo apt-get update | |
sudo apt-get install -y -q freeglut3-dev xvfb libxkbcommon-x11-0 xserver-xephyr | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipenv | |
pipenv install --dev | |
- name: Test with pytest | |
id: test | |
run: | | |
pipenv run mypy --install-types --non-interactive zero_play | |
# Add QT_DEBUG_PLUGINS=1 before xvfb-run to debug Qt library problems. | |
xvfb-run -a pipenv run coverage run --source=zero_play -m pytest | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: Upload image diffs | |
uses: actions/upload-artifact@v3 | |
if: ${{ always() && steps.test.outcome == 'failure' }} | |
with: | |
name: image-diffs | |
path: | | |
tests/pixmap_diffs/*.png |