Skip to content

Commit

Permalink
Merge pull request #89 from braingram/update_ci
Browse files Browse the repository at this point in the history
Update ci
  • Loading branch information
braingram authored Feb 23, 2024
2 parents 20df236 + 618f59a commit e3dfdb9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 36 deletions.
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

0 comments on commit e3dfdb9

Please sign in to comment.