Skip to content

Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 (#244) #168

Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 (#244)

Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 (#244) #168

Workflow file for this run

name: Python
on:
push:
branches: [main]
pull_request:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: ilammy/msvc-dev-cmd@v1
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -e ".[test]"
env:
DISTUTILS_USE_SDK: 1
MSSdk: 1
- name: Run the unit tests
run: python -m pytest --cov celerite tests
- name: Coveralls
if: startsWith(matrix.os, 'ubuntu')
uses: AndreMiras/coveralls-python-action@v20201129
with:
parallel: true
flag-name: Unit Tests
coverage:
needs: [tests]
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@v20201129
with:
parallel-finished: true