Skip to content

Commit

Permalink
Added GitHub Actions workflow and removed Azure Pipelines configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Jul 3, 2023
1 parent 2a5551f commit decf072
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 38 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI

on:
push:
pull_request:

jobs:

tests:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
coverage: codecov
runs-on: |
linux: ubuntu-latest
envs: |
# Code style
- linux: codestyle
# Linux builds - test on all supported Matplotlib versions
- linux: py38-test-mpl33
- linux: py39-test-mpl34
- linux: py39-test-mpl35
- linux: py310-test-mpl36
- linux: py310-test-mpl37
- linux: py311-test-mpl38
- linux: py311-test-mpldev
# MacOS X and Windows builds - alternative Matplotlib versions
- windows: py38-test-mpl33
- macos: py39-test-mpl34
- windows: py39-test-mpl35
- macos: py310-test-mpl36
- windows: py310-test-mpl37
- macos: py311-test-mpl38
- windows: py311-test-mpldev
# Image tests
- linux: py311-test-mpl38-image
publish:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
test_extras: test
test_command: pytest --pyargs test_package
secrets:
pypi_token: ${{ secrets.pypi_token }}
38 changes: 0 additions & 38 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit decf072

Please sign in to comment.