Merge pull request #157 from casangi/153-add-function-to-plot-positio… #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- '**.rst' | |
- 'disabled_tests/*.py' | |
jobs: | |
build: | |
name: macos (${{ matrix.python-version }}, ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["macos-latest"] | |
python-version: ["3.8", "3.9", "3.10","3.11"] | |
steps: | |
- name: Setup Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-activate-base: false | |
activate-environment: astrotest | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
channels: conda-forge | |
- run: conda install python-casacore | |
- uses: actions/checkout@v3 | |
- name: Install dependencies with pip | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install . | |
- name: Test with pytest | |
run: pytest |