Skip to content

rc-testing

rc-testing #9

name: rc-testing
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
# TODO: Add more OS when we are sure this package can run on those.
#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.10'
- name: Install and build
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install numpy astropy --pre
python -m pip install -e .[test]
- name: Run tests
run: pytest