Skip to content

Commit

Permalink
TST: Add RC testing workflow
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
pllim authored Dec 8, 2022
1 parent 85c1374 commit 7c2bc1a
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/predeps_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: rc-testing

on:
workflow_dispatch:

# Cancel duplicate builds
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
tests:
runs-on: ${{ matrix.os }}
needs: initial_check
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install and build
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install numpy scipy astropy ginga --pre
python -m pip install -e .[test]
- name: Test
run: pytest

0 comments on commit 7c2bc1a

Please sign in to comment.