Skip to content

Commit

Permalink
chore: ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
echarles committed Jul 3, 2023
1 parent 684efcf commit 135f9b0
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build

on:
push:
branches: '*'
pull_request:
branches: '*'
# schedule:
# - cron: '0 0 * * *'

jobs:
build:
name: Run build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.11]
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
# mamba-version: "*"
# channels: conda-forge
- name: Create the env and build
shell: bash -l {0}
run: |
conda env create -f environment.yml
conda activate datalayer
yarn
yarn build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,4 @@ dmypy.json
!*.*rc.json
!**/.env
!.devcontainer
!.github

0 comments on commit 135f9b0

Please sign in to comment.