Update .gitattributes #22
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Conda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-activate-base: false | |
miniforge-version: 4.10.3-0 | |
- name: Create and activate Conda environment | |
run: | | |
conda env create --file environment.yml | |
conda init bash | |
source ~/.bashrc | |
conda activate pilot | |
- name: Install dependencies | |
run: | | |
source ~/.bashrc | |
conda activate pilot | |
pip install -r docs/requirements.txt | |
- name: Run tests | |
run: | | |
source ~/.bashrc | |
conda activate pilot | |
pytest |