Skip to content

Commit

Permalink
Merge pull request #116 from braingram/badges
Browse files Browse the repository at this point in the history
Fix badges, run ci on schedule, remove astropy from downstream
  • Loading branch information
braingram authored May 9, 2024
2 parents 2573288 + 066df82 commit 544c635
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: CI

on:
workflow_dispatch:
schedule:
# Run every Monday at 6am UTC
- cron: '0 6 * * 1'
push:
branches:
- main
Expand Down
16 changes: 2 additions & 14 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ jobs:
fail-fast: false
matrix:
include:
- package_name: astropy
repository: astropy/astropy
install_command: pip install -e .[test]
test_command: pytest
- package_name: gwcs
repository: spacetelescope/gwcs
install_command: pip install -e .[test]
Expand All @@ -48,10 +44,6 @@ jobs:
repository: astropy/specutils
install_command: pip install -e .[test]
test_command: pytest
- package_name: weldx
repository: BAMWelDX/weldx
install_command: pip install -e .[test]
test_command: pytest weldx/tests/asdf_tests weldx/schemas --asdf-tests
- package_name: sunpy
repository: sunpy/sunpy
install_command: pip install -e .[tests,all]
Expand All @@ -68,10 +60,6 @@ jobs:
repository: asdf-format/asdf-standard
install_command: pip install -e .[test]
test_command: pytest
- package_name: asdf-transform-schemas
repository: asdf-format/asdf-transform-schemas
install_command: pip install -e .[test]
test_command: pytest
- package_name: asdf-wcs-schemas
repository: asdf-format/asdf-wcs-schemas
install_command: pip install -e .[test]
Expand All @@ -93,10 +81,10 @@ jobs:
fetch-depth: 0
repository: ${{ matrix.repository }}
path: target
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.11
- name: Install asdf-transform-schemas
run: cd asdf-transform-schemas && pip install .
- name: Install remaining ${{ matrix.package_name }} dependencies
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# asdf-transform-schemas
![CI](https://github.com/asdf-format/asdf-transform-schemas/workflows/CI/badge.svg)
![Downstream](https://github.com/asdf-format/asdf-transform-schemas/workflows/Downstream/badge.svg)
![CI](https://github.com/asdf-format/asdf-transform-schemas/actions/workflows/ci.yml/badge.svg)
![Downstream](https://github.com/asdf-format/asdf-transform-schemas/actions/workflows/downstream.yml/badge.svg)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
Expand Down

0 comments on commit 544c635

Please sign in to comment.