Update README.md #8
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: workflows | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: "3.10" | |
miniforge-version: latest | |
use-mamba: true | |
mamba-version: "*" | |
- name: Activate conda environment | |
run: | | |
conda env create -f environment.yml | |
conda activate base | |
- name: Install dependencies | |
run: | | |
conda install flake8 pytest numpy pandas | |
- name: Lint with flake8 | |
run: | | |
flake8 . | |
- name: Test with pytest | |
run: | | |
pytest |