Skip to content

Commit 02b3f72

Browse files
author
Simon Torres
authored
Merge pull request soar-telescope#325 from simontorres/github_actions_and_new_release
Finish setup github actions and prepare new release
2 parents 0d14838 + 3df5e86 commit 02b3f72

26 files changed

+91
-1911
lines changed

.github/workflows/python-package.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: [3.5, 3.6, 3.7, 3.8]
18+
python-version: [3.6, 3.7, 3.8]
1919

2020
steps:
2121
- uses: actions/checkout@v2
@@ -28,6 +28,11 @@ jobs:
2828
python -m pip install --upgrade pip
2929
pip install flake8 pytest
3030
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
31+
- name: Adding DCR binaries path
32+
run: |
33+
echo "adding dcr PATH"
34+
export PATH=$PATH:$(pwd)/data/dcr-source/dcr
35+
echo "$PATH"
3136
- name: Lint with flake8
3237
run: |
3338
# stop the build if there are Python syntax errors or undefined names

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ __pycache__/*
88
files.txt
99
docs/_build/*
1010
goodman_pipeline/data/dcr-source/dcr
11-
goodman_pipeline/data/dcr-source/*.o
11+
goodman_pipeline/data/dcr-source/*.o
12+
/dev-tools/

.travis.yml

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,19 @@
11
language: python
22
python:
3-
- '3.5'
43
- '3.6'
4+
- '3.7'
55
- '3.8'
6-
- '3.9-dev'
76

87
branches:
98
only:
109
- master
1110

12-
# before_install:
13-
# - ./install_dcr.sh
14-
15-
1611
install:
17-
# - export PATH="$PATH:$HOME/build/soar-telescope/goodman_pipeline/dcrbin"
18-
19-
- sudo apt-get update
20-
21-
# Here we install Anaconda to work with Virtual Environments. We do this
22-
# conditionally because it saves us some downloading if the version is the same.
23-
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
24-
25-
26-
- bash miniconda.sh -b -p $HOME/miniconda
27-
- export PATH="$HOME/miniconda/bin:$PATH"
28-
- hash -r
29-
- conda config --set always_yes yes --set changeps1 no
30-
31-
# Adding AstroConda Channel since it contains most of the dependencies for
32-
# Dragons and Dragons-SOAR
33-
- conda config --add channels http://ssb.stsci.edu/astroconda
34-
- conda update -q conda
3512

36-
# Useful for debugging any issues with conda
37-
- conda info -a
13+
- pip install -r requirements.txt
3814

39-
# Create astroconda virtual environment
40-
- conda env create --force python=$TRAVIS_PYTHON_VERSION -f environment.yml
41-
- source activate goodman_pipeline
42-
- pip freeze
4315
# Run DCR installer
44-
- ./install_dcr.sh
16+
- ./travis_install_dcr.sh
4517

4618
# install
4719
- python setup.py test
@@ -50,7 +22,6 @@ install:
5022
script:
5123
- pytest
5224
- coverage run --branch --source= setup.py test
53-
# TODO - How can I add the ./goodman as a source?
5425

5526
after_success:
5627
- coveralls

dev-tools/ccd-list-based.py

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)