Skip to content

Commit

Permalink
update astropy_helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Aug 2, 2024
1 parent 3d5ddee commit 3b513b4
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,35 @@ jobs:
# If allowed failures are needed, uncomment continue-on-error.
# continue-on-error: true
run: flake8 speclite --count --max-line-length=100

#
# Temporary test to make sure the package can at least be installed
# for more recent Python versions.
#
install:
name: Installation test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
python-version: ['3.10', '3.11', '3.12']

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install numpy\<2.0 scipy matplotlib astropy pyyaml
- name: Test installing from the checkout
run: python -m pip install .
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "astropy_helpers"]
path = astropy_helpers
url = https://github.com/astropy/astropy-helpers.git
url = https://github.com/bsipocz/astropy-helpers.git
2 changes: 1 addition & 1 deletion astropy_helpers

0 comments on commit 3b513b4

Please sign in to comment.