Skip to content

Mesh computation, shape measurement, and spherical harmonic decomposition #79

Mesh computation, shape measurement, and spherical harmonic decomposition

Mesh computation, shape measurement, and spherical harmonic decomposition #79

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- "v*"
pull_request:
branches:
- "main"
workflow_dispatch:
jobs:
test:
name: ${{ matrix.platform }} (${{ matrix.python-version }})
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]
platform: [ubuntu-latest] #, macos-latest, windows-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v3
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache-dependency-path: "pyproject.toml"
cache: "pip"
- name: Install Dependencies
run: |
python -m pip install -U pip
python -m pip install .[test,fractal-tasks]
- name: 🧪 Run Tests
run: pytest --color=yes --cov --cov-report=xml --cov-report=term-missing
- name: Coverage
uses: codecov/codecov-action@v3