Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed Jan 31, 2025
1 parent cec9550 commit b8a65c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
matrix:
python-version: ["3.10", "3.11", "3.12"]

# Environment variables
env:
POETRY_HOME: /opt/poetry

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down Expand Up @@ -69,8 +73,6 @@ jobs:
- name: install packages with conda
shell: bash -el {0}
env:
POETRY_HOME: /opt/poetry
run: |
conda install -c conda-forge astromatic-source-extractor astromatic-scamp astromatic-swarp astromatic-psfex astrometry=0.95 gsl wcstools
swarp -v
Expand Down Expand Up @@ -116,8 +118,6 @@ jobs:
# First make sure the doc tests are up to date
- name: Run doc tests
shell: bash -el {0}
env:
POETRY_HOME: /opt/poetry
run: |
$POETRY_HOME/bin/poetry run make -C docs/ doctest
Expand All @@ -137,14 +137,14 @@ jobs:
FRITZ_TOKEN: ${{ secrets.FRITZ_TOKEN }}
ANET_INDEX_DIR: /usr/share/miniconda/envs/test/data
run: |
TESTDATA_CHECK="True" poetry run coverage run -m unittest discover tests/
TESTDATA_CHECK="True" $POETRY_HOME/bin/poetry run coverage run -m unittest discover tests/
- name: Run Coveralls
continue-on-error: true
if: ${{ success() }}
shell: bash -el {0}
run: |
poetry --no-ansi run coveralls --service=github
$POETRY_HOME/bin/poetry --no-ansi run coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -159,4 +159,4 @@ jobs:
# Only run if secrets.PYPI_API_TOKEN exists.
if: ${{ startsWith(github.ref, 'refs/tags/') && success() && matrix.python-version == 3.11 && env.POETRY_PYPI_TOKEN_PYPI != ''}}
run: |
poetry publish -n --build
$POETRY_HOME/bin/poetry publish -n --build
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with dev

pre_build:
# Generate latest various flowcharts
Expand Down

0 comments on commit b8a65c9

Please sign in to comment.