Skip to content

Commit

Permalink
try other install technique
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed May 14, 2024
1 parent cab5ea8 commit ab20c60
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:

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

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

Expand All @@ -59,12 +59,12 @@ jobs:

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

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

Expand Down Expand Up @@ -94,22 +94,19 @@ jobs:

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

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

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip wheel setuptools docutils\<0.18 Sphinx
python -m pip install sphinx-astropy
python -m pip install speclite
python -m pip install git+https://github.com/desihub/desiutil.git@3.4.2
python -m pip install git+https://github.com/desihub/desimodel.git@0.19.1
python -m pip install -e .[docs]
- name: Test the documentation
run: sphinx-build -W --keep-going -b html docs docs/_build/html
Expand All @@ -125,12 +122,12 @@ jobs:

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

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

Expand All @@ -141,4 +138,4 @@ jobs:
- name: Test the style; failures are allowed
# This is equivalent to an allowed falure.
continue-on-error: true
run: flake8 speclite --count --max-line-length=100
run: flake8 specsim --count --max-line-length=100
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ fitgalsim = specsim.fitgalsim:main
[options.extras_require]
docs =
sphinx-astropy
git+https://github.com/desihub/desiutil.git@3.4.2
git+https://github.com/desihub/desimodel.git@0.19.1

[tool:pytest]
Expand Down

0 comments on commit ab20c60

Please sign in to comment.