Skip to content

Bump actions/download-artifact from 3 to 4 #120

Bump actions/download-artifact from 3 to 4

Bump actions/download-artifact from 3 to 4 #120

Workflow file for this run

name: Python
on:
push:
branches: [main]
pull_request:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9"]
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@v4
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