Skip to content

remove use of private asdf api #567

remove use of private asdf api

remove use of private asdf api #567

Workflow file for this run

name: CI
on:
workflow_dispatch:
schedule:
# Run every Monday at 6am UTC
- cron: '0 6 * * 1'
push:
branches:
- main
- stable
- '*.x'
tags:
- '*'
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.1
core:
needs: [pre-commit]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
submodules: false
envs: |
- linux: py39
- linux: py310
- linux: py311
- linux: py312
test:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
submodules: false
# Any env name which does not start with `pyXY` will use this Python version.
default_python: '3.11'
envs: |
- macos: py39
- windows: py39
package:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
upload_to_pypi: false
upload_to_anaconda: false
asdf-dev:
needs: [pre-commit]
name: Run asdf-development tests
runs-on: ubuntu-latest
steps:
- name: Checkout asdf-standard
uses: actions/checkout@v4
with:
fetch-depth: 0
path: asdf-standard
- name: Checkout asdf-dev
uses: actions/checkout@v4
with:
fetch-depth: 0
repository: asdf-format/asdf
path: asdf
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install asdf-standard
run: cd asdf-standard && pip install .
- name: Install asdf
run: cd asdf && pip install -e .[tests]
- name: Pip Freeze
run: pip freeze
- name: Run asdf-development tests
run: cd asdf && pytest