Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ci #89

Merged
merged 4 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "main"
schedule:
interval: "weekly"

# Maintain dependencies for pip
- package-ecosystem: "pip"
directory: "/"
target-branch: "main"
schedule:
interval: "weekly"
16 changes: 3 additions & 13 deletions .github/workflows/sphinx_asdf_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,28 +109,18 @@ jobs:
os: ubuntu-latest
toxenv: roman_datamodels

- name: romancal Document Build
python-version: "3.11"
os: ubuntu-latest
toxenv: romancal

- name: stdatamodels Document Build
python-version: "3.10"
os: ubuntu-latest
toxenv: stdatamodels

- name: jwst Document Build
python-version: "3.11"
os: ubuntu-latest
toxenv: jwst

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
Expand All @@ -140,6 +130,6 @@ jobs:
run: tox -e ${{ matrix.toxenv }}
- name: Upload Code Coverage
if: ${{ contains(matrix.toxenv,'coverage') }}
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ requires = ["setuptools>=42", "setuptools_scm[toml]>=3.4", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "sphinx_asdf/_version.py"
version_file = "sphinx_asdf/_version.py"

[tool.black]
line-length = 120
Expand Down
22 changes: 0 additions & 22 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,6 @@ commands=
pip install ./roman_datamodels[docs]
sphinx-build roman_datamodels/docs roman_datamodels/docs/build

[testenv:romancal]
changedir={envtmpdir}
deps=
sphinx
allowlist_externals=
git
commands=
git clone https://github.com/spacetelescope/romancal
pip install ./romancal[docs]
sphinx-build romancal/docs romancal/docs/build

[testenv:stdatamodels]
changedir={envtmpdir}
deps=
Expand All @@ -115,17 +104,6 @@ commands=
pip install ./stdatamodels[docs]
sphinx-build stdatamodels/docs/source stdatamodels/docs/build

[testenv:jwst]
changedir={envtmpdir}
deps=
sphinx
allowlist_externals=
git
commands=
git clone https://github.com/spacetelescope/jwst
pip install ./jwst[docs]
sphinx-build jwst/docs jwst/docs/build

[testenv:twine]
deps=
twine
Expand Down