Rm python, add miniconda to CI #136
Workflow file for this run
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
# Builds using docker | |
--- | |
name: Build | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
python: [3.9] | |
runs-on: ubuntu-latest | |
steps: | |
- name: setup-conda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-activate-base: true | |
activate-environment: "" | |
miniconda-version: "latest" | |
- name: Install Python 3.9 | |
run: | | |
conda install -c conda-forge python=3.9 | |
- name: Add variable | |
run: | | |
run: | | |
echo "COMPOSE_FILE=docker-compose.yml:volumes.yml" >> $GITHUB_PATH | |
- name: Set up | |
run: | | |
mkdir /tmp/omero-app | |
cp -r . /tmp/omero-app/.omero | |
- name: Build | |
run: | | |
cd /tmp/omero-app | |
.omero/compose up -d | |
.omero/compose down | |
.omero/persist.sh backup | |
.omero/persist.sh --restore backup |