Skip to content
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
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
name: CI

on:
pull_request:
push:
tags:
- '*'

jobs:
test:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
envs: |
- linux: py311-astropystable
- linux: py311-astropydev
23 changes: 23 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[tox]
envlist =
py311-astropy{stable,dev}
isolated_build = True

[testenv]
skip_install = true
setenv =
PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/liberfa/simple https://pypi.anaconda.org/astropy/simple
changedir =
.tmp/{envname}
deps =
asv
numpy
scipy
matplotlib
astropystable: astropy
astropydev: astropy>=0.0.dev0
astropydev: pyerfa>=0.0.dev0

commands =
asv machine --machine unknown --os unknown --arch unknown --cpu unknown --ram unknown --config {toxinidir}/asv.conf.json
asv run --quick --python=same --config {toxinidir}/asv.conf.json