Skip to content

seaborn.objects: Add formatting string argument to Text mark #1938

seaborn.objects: Add formatting string argument to Text mark

seaborn.objects: Add formatting string argument to Text mark #1938

Workflow file for this run

name: CI
on:
push:
branches: [master, v0.*]
pull_request:
branches: master
schedule:
- cron: '0 6 * * 1,4' # Each Monday and Thursday at 06:00 UTC
workflow_dispatch:
permissions:
contents: read
env:
NB_KERNEL: python
MPLBACKEND: Agg
SEABORN_DATA: ${{ github.workspace }}/seaborn-data
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install seaborn
run: |
pip install --upgrade pip
pip install .[stats,docs]
- name: Install pandoc
run: |
sudo apt-get install pandoc
- name: Cache datasets
run: |
git clone https://github.com/mwaskom/seaborn-data.git
ls $SEABORN_DATA
- name: Build docs
env:
SPHINXOPTS: -j `nproc`
run: |
cd doc
make -j `nproc` notebooks
make html
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11"]
install: [full]
deps: [latest]
include:
- python: "3.8"
install: full
deps: pinned
- python: "3.11"
install: light
deps: latest
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install seaborn
run: |
pip install --upgrade pip wheel
if [[ ${{matrix.install}} == 'full' ]]; then EXTRAS=',stats'; fi
if [[ ${{matrix.deps }} == 'pinned' ]]; then DEPS='-r ci/deps_pinned.txt'; fi
pip install .[dev$EXTRAS] $DEPS
- name: Run tests
run: make test
- name: Upload coverage
uses: codecov/codecov-action@v3
if: ${{ success() }}
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
- name: Install tools
run: pip install mypy flake8
- name: Flake8
run: make lint
- name: Type checking
run: make typecheck