Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Install IC
run: |
source manage.sh activate
bash manage.sh install

- name: Run tests
run: |
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Pyflakes
run: |
source scripts/setup_conda_gha.sh
source manage.sh work_in_python_version_no_tests ${{ matrix.python-version }}
source manage.sh activate

# tee is used to ignore the exit status of pyflakes
# we don't want the GHA check to fail because of this
Expand Down
13 changes: 10 additions & 3 deletions manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,23 @@ function export_city_command_completion {
function activate {
if ! command -v conda 2&>1 > /dev/null
then
install_conda
echo "ERROR: Conda not found."
echo "Set it up before running this command or run"
echo "\nbash manage.sh install_and_check\n"
echo "for an automatic conda and IC installation"
return
fi

if ! (conda env list | grep ${CONDA_ENV_NAME}) >> /dev/null
then
make_environment
echo "ERROR:IC environment not found"
echo "Run"
echo "\nbash manage.sh install_and_check\n"
echo "to install IC"
return
fi

python_version_env
compile_cython_components
export_city_command_completion
}

Expand Down
Loading