Skip to content

Commit

Permalink
Merge pull request #157 from pllim/fix-ci
Browse files Browse the repository at this point in the history
TST: Fix CI failures
  • Loading branch information
pllim authored Dec 21, 2021
2 parents e65e8d4 + 79bc8a1 commit 84e2ed6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- cron: '0 6 * * 2'

env:
jref: "https://ssb.stsci.edu/cdbs/jref"
jref: "https://ssb.stsci.edu/trds_open/jref"

jobs:
initial_checks:
Expand Down Expand Up @@ -74,6 +74,7 @@ jobs:
- name: Install and build
run: |
python -m pip install --upgrade pip setuptools wheel
pip install git+https://github.com/spacetelescope/ci_watson.git --upgrade --no-deps
python -m pip install -e .[test,all]
- name: Test
run: pytest --remote-data -v
Expand All @@ -95,6 +96,7 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools wheel
pip install git+https://github.com/astropy/astropy.git#egg=astropy --upgrade --no-deps
pip install git+https://github.com/spacetelescope/ci_watson.git --upgrade --no-deps
python -m pip install -e .[test,all]
- name: Test
run: pytest --remote-data -v
Expand Down
3 changes: 1 addition & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ sphinx:

# Set the version of Python and requirements required to build your docs
python:
version: 3.7
system_packages: true
version: 3.8
install:
- method: pip
path: .
Expand Down
5 changes: 2 additions & 3 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
#
# All configuration values have a default; values that are commented out
# serve to show the default.

from pkg_resources import get_distribution
from acstools import __version__

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down Expand Up @@ -53,7 +52,7 @@
# built documents.
#
# The full version, including alpha/beta/rc tags.
release = get_distribution('acstools').version
release = __version__
# The short X.Y version.
version = '.'.join(release.split('.')[:2])

Expand Down
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ test =
ci-watson
docs =
sphinx-automodapi
sphinx-rtd-theme

[options.package_data]
acstools = data/*
Expand All @@ -71,6 +72,11 @@ testpaths = "acstools" "doc"
norecursedirs = build doc/build
astropy_header = true
xfail_strict = true
filterwarnings =
error
ignore:numpy\.ndarray size changed:RuntimeWarning
ignore:unclosed file:ResourceWarning
ignore:distutils Version classes are deprecated:DeprecationWarning

[flake8]
# Ignoring these for now:
Expand Down

0 comments on commit 84e2ed6

Please sign in to comment.