Skip to content

Commit

Permalink
Merge pull request #70 from hover2pi/plots
Browse files Browse the repository at this point in the history
v1.2.1
  • Loading branch information
hover2pi authored Apr 24, 2022
2 parents 76ea2bd + 85bc10d commit dc14768
Show file tree
Hide file tree
Showing 15 changed files with 973 additions and 489 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
57 changes: 57 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: CI

on:
push:
branches:
- master
tags:
- "*"
pull_request:
schedule:
# Run every Monday at 6am UTC
- cron: "0 6 * * 1"

jobs:
test:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- name: Unit tests Python 3.7
os: macos-latest
python-version: 3.7
extras: test
test-command: pytest

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
pip install --upgrade pip
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda env update --file env/environment-${PYTHONVERSION}.yml --name sedkit-${{ matrix.python-version }}
env:
PYTHONVERSION: ${{ matrix.python-version }}
- name: Install package
run: |
pip install -e .[${{ matrix.extras }}]
- name: Update conda
run: |
conda update --all
- name: Test with pytest
run: |
conda run -n sedkit-${{ matrix.python-version }} pytest
31 changes: 0 additions & 31 deletions .github/workflows/sedkit_workflow.yml

This file was deleted.

29 changes: 0 additions & 29 deletions ci/install_conda.sh

This file was deleted.

6 changes: 0 additions & 6 deletions ci/setup_conda_env.sh

This file was deleted.

45 changes: 22 additions & 23 deletions env/environment-3.7.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
name: sedkit-3.7

channels:
- conda-forge
- http://ssb.stsci.edu/astroconda
- defaults
- http://ssb.stsci.edu/astroconda
- conda-forge
- defaults
dependencies:
- numpy>=1.18.1
- astropy>=4.3.1
- astroquery>=0.4.2
- python>=3.7
- bokeh>=1.4.0
- scipy>=1.4.1
- pandas>=0.23.4
- pip
- python==3.7.1
- pip:
- astropy==4.3.1
- astroquery==0.4.6
- bokeh>=2.2.3
- dill==0.3.4
- dustmaps==1.0.9
- emcee>=3.1.1
- ipython==7.32.0
- jupyter==1.0.0
- numpy>=1.21.5
- pandas>=1.3.5
- pickle5>=0.0.11
- pip>=20.3.3
- selenium>=2.49.2
- sphinx>=3.4.3
- sphinx-automodapi>=0.13
- pytest>=6.2.1
- pygments>=2.7.4
- jupyter>=1.0.0
- ipython>=7.12.0
- pip:
- svo-filters==0.4.1
- dustmaps==1.0.4
- numpydoc==0.8.0
- emcee>=3.0.2
- PyQt5>=5.15.6
- pytest==7.1.1
- sphinx==4.5.0
- scipy==1.7.3
- svo-filters==0.4.1
47 changes: 23 additions & 24 deletions env/environment-3.8.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
name: sedkit-3.8

channels:
- conda-forge
- http://ssb.stsci.edu/astroconda
- defaults
- http://ssb.stsci.edu/astroconda
- conda-forge
- defaults
dependencies:
- numpy>=1.18.1
- astropy>=4.3.1
- astroquery>=0.4.2
- python>=3.8
- bokeh>=1.4.0
- scipy>=1.4.1
- pandas>=0.23.4
- pip>=20.3.3
- selenium>=2.49.2
- sphinx>=3.4.3
- sphinx-automodapi>=0.13
- pytest>=6.2.1
- pygments>=2.7.4
- tqdm>=4.62.3
- jupyter>=1.0.0
- ipython>=7.12.0
- pip:
- svo-filters==0.4.1
- dustmaps==1.0.4
- numpydoc==0.8.0
- emcee>=3.0.2
- pip
- python==3.8.10
- pip:
- astropy==5.0.4
- astroquery==0.4.6
- bokeh>=2.2.3
- dill==0.3.4
- dustmaps==1.0.9
- emcee>=3.1.1
- ipython==8.2.0
- jupyter==1.0.0
- numpy>=1.21.5
- pandas>=1.3.5
- pickle5>=0.0.11
- PyQt5>=5.15.6
- pytest==7.1.1
- sphinx==4.5.0
- scipy==1.8.0
- svo-filters==0.4.1
Loading

0 comments on commit dc14768

Please sign in to comment.