Skip to content

Bump OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml from 2.3.0 to 2.6.3 #103

Bump OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml from 2.3.0 to 2.6.3

Bump OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml from 2.3.0 to 2.6.3 #103

Workflow file for this run

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install pytest-cov
- name: Build
run: pip install -e .
- name: Test
run: pytest --cov --cov-report=xml
- name: Upload coverage to codecov
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.0.0-beta
with:
token: ${{ secrets.CODECOV_TOKEN }}