Skip to content

Improve Plotting Experience #1896

Improve Plotting Experience

Improve Plotting Experience #1896

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
schedule:
- cron: "14 3 * * 1" # at 03:14 on Monday.
jobs:
pytest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version:
- "3.12"
- "3.11"
- "3.10"
os:
- ubuntu-latest
services:
# Label used to access the service container
redis:
# Docker Hub image
image: redis
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps port 6379 on service container to the host
- 6379:6379
steps:
- uses: actions/checkout@v4
# - uses: oven-sh/setup-bun@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
# - name: bun build install
# run: |
# cd app
# bun install
# bun vite build
- name: Install package
run: |
poetry install --no-interaction
- name: Pytest
run: |
poetry run python --version
poetry run coverage run -m pytest -vv
poetry run coverage xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}