Skip to content

Commit

Permalink
Create action main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tharen authored Jan 21, 2024
1 parent e49dbd2 commit 9eef2ba
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build with Conda

on: [push]

jobs:
build-windows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.3.1-0'
environment-file: environment.yml
init-shell: >-
bash
# powershell
cache-environment: true
post-cleanup: 'all'
- name: Import numpy in micromamba environment (bash)
run: python -c "import numpy"
shell: bash -el {0}

0 comments on commit 9eef2ba

Please sign in to comment.