Add github action test on macos #1
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: Pytest on macOS | |
on: | |
push: | |
branches: | |
- macos | |
jobs: | |
build-macos: | |
runs-on: macos-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install phono3py | |
run: | | |
pip install -e . -v | |
- name: Run pytest | |
run: | | |
pip install pytest | |
pytest -v test |