Set up Python directly via miniconda #389
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: build the LVK virtualenv | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- | |
uses: actions/checkout@v1 | |
- | |
name: "Set up Python" | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- | |
env: | |
OSG_ACCESS: "${{secrets.OSG_ACCESS}}" | |
name: "Preparing ssh stuff" | |
run: "bash -e tools/docker_build_prepssh.sh" | |
- | |
env: | |
DOCKER_IMG: igwn/base:el8 | |
PYCBC_CONTAINER: pycbc_rhel_virtualenv | |
DOCKER_SECURE_ENV_VARS: true | |
name: "Creating the virtual environment" | |
run: "bash -e tools/docker_build_and_test.sh" | |