Skip to content

Bump mamba-org/setup-micromamba from 1 to 2 #1667

Bump mamba-org/setup-micromamba from 1 to 2

Bump mamba-org/setup-micromamba from 1 to 2 #1667

Workflow file for this run

name: OE License
on:
push:
workflow_dispatch:
schedule:
- cron: "0 2 * * *"
defaults:
run:
shell: bash -leo pipefail {0} {0}
jobs:
test:
name: Check status
runs-on: ubuntu-latest
env:
OE_LICENSE: ${{ github.workspace }}/oe_license.txt
steps:
- uses: actions/checkout@v4
- name: Set up conda environment
uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '1.5.6-0'
environment-file: devtools/conda-envs/oe_license_check.yaml
- name: Decrypt OpenEye license
env:
ENC_OE_LICENSE: ${{ secrets.OE_LICENSE }}
run: echo "${ENC_OE_LICENSE}" > ${OE_LICENSE}
- name: Check OpenEye license
run: python -c "import openeye; assert openeye.OEChemIsLicensed(), 'OpenEye licenses out of date!'"