Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pyspeckit/pyspeckit into …
Browse files Browse the repository at this point in the history
…pyspeckit-master
  • Loading branch information
taiwithers committed Sep 20, 2024
2 parents e7bf6b2 + 4e1ed1c commit 2fa9616
Show file tree
Hide file tree
Showing 38 changed files with 714 additions and 1,348 deletions.
61 changes: 61 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Run tests

on:
push:
pull_request:
schedule:
# run every Tuesday at 5am UTC
- cron: '0 5 * * 2'

jobs:
tests:
name: ${{ matrix.name}}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python-version: 3.9
name: Py3.9 mindeps
toxenv: py39-test
- os: ubuntu-latest
python-version: '3.10'
name: Py3.10 mindeps
toxenv: py310-test
- os: ubuntu-latest
python-version: 3.11
name: Py3.11 mindeps
toxenv: py311-test
- os: ubuntu-latest
python-version: 3.8
name: Py3.8 mindeps
toxenv: py38-test
- os: ubuntu-latest
python-version: 3.9
name: Py3.9 dev
toxenv: py39-test-dev
- os: ubuntu-latest
python-version: 3.11
name: Py3.11 dev
toxenv: py311-test-dev
- os: ubuntu-latest
python-version: 3.9
name: Documentation
toxenv: build_docs

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install testing dependencies
run: python -m pip install tox codecov
- name: Run tests with ${{ matrix.name }}
run: tox -v -e ${{ matrix.toxenv }}
- name: Upload coverage to codecov
if: ${{ contains(matrix.toxenv,'-cov') }}
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "astropy_helpers"]
path = astropy_helpers
url = https://github.com/astropy/astropy-helpers.git
[submodule "tests"]
path = pyspeckit/tests
url = https://github.com/pyspeckit/pyspeckit-tests
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ The PySpecKit logo uses the Voyager 1 image of Earth known as the "Pale Blue Dot
.. image:: https://zenodo.org/badge/6116896.svg
:target: https://zenodo.org/badge/latestdoi/6116896

pyspeckit development has been supported by the NSF under grants AST 2008101 and CAREER 2142300

.. image:: https://www.nsf.gov/news/mmg/media/images/nsf%20logo_ba604992-ed6d-46a7-8f5b-151b1c3e17e3.jpg
:target: https://www.nsf.gov/policies/images/NSF_Official_logo_High_Res_1200ppi.png
:width: 200
Loading

0 comments on commit 2fa9616

Please sign in to comment.