Merge branch 'main' into install-with-ssh #485
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: Makezip test | |
on: | |
push: | |
jobs: | |
build: | |
name: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build modules.zip | |
run: | | |
[[ $(uname) == Linux ]] && sudo apt-get update && sudo apt-get install -y openmpi-bin libopenmpi-dev | |
./install.sh | |
source miniforge3/bin/activate ceesd | |
./makezip.sh | |
- name: Test modules.zip | |
run: | | |
source miniforge3/bin/activate ceesd | |
# Uninstall dagrt to make sure it gets loaded from modules.zip | |
pip uninstall --yes dagrt | |
[[ $(python3 -c 'import dagrt; print(dagrt.__path__[0])') == *modules.zip* ]] || exit 1 |