Merge pull request #257 from deepskies/255-joss-request-reference-syntax #510
This file contains hidden or 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: Python Package using Conda | |
| on: [push] | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 5 | |
| steps: | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: '3.10' | |
| - uses: actions/checkout@v4 | |
| - uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| activate-environment: base-test | |
| - name: Install dependencies | |
| run: | | |
| # conda env update --file=../environment.yml --name=base-test | |
| python -m pip install colossus pixell camb | |
| python -m pip install . | |
| - name: Test with pytest | |
| run: | | |
| conda install pytest | |
| pytest |