Skip to content

Adds login/logout commands #21

Adds login/logout commands

Adds login/logout commands #21

Workflow file for this run

name: conda-auth tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up 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 (conda)
run: |
conda env update --file environment.yml --name base
conda install --file requirements.dev.txt
- name: Install conda-basic-auth
run: |
pip install -e .
- name: Test with pytest
run: |
pytest --doctest-modules