Skip to content

Merge pull request #13 from yu9824/dev #33

Merge pull request #13 from yu9824/dev

Merge pull request #13 from yu9824/dev #33

# Regrences
# - https://enu23456.hatenablog.com/entry/2022/11/24/195744
name: Test on each version
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
max-parallel: 5
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda env update --file requirements.txt --name base
conda install pip pandas
pip install -e . --user --no-deps
- name: Test with pytest
run: |
conda install pytest
pytest