From 406df6ce33b8d44d617ddd0a903ac30826a3b398 Mon Sep 17 00:00:00 2001 From: "Marten H. van Kerkwijk" Date: Mon, 18 Nov 2024 14:25:54 -0500 Subject: [PATCH] TEST: add CI workflows --- .github/workflows/ci_workflows.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci_workflows.yml diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml new file mode 100644 index 0000000..22f0f4d --- /dev/null +++ b/.github/workflows/ci_workflows.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: + - main + tags: + - '*' + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + tests: + uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 + with: + envs: | + - name: Code style checks + linux: codestyle + + - name: Code tests with supported array API classes + linux: test-alldeps + + # Docs are build directly on readthedocs even for PR. + # - name: Documentation build + # os: ubuntu-latest + # toxenv: build_docs