Skip to content

Commit 8677b93

Browse files
add CI workflow
1 parent 921c353 commit 8677b93

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: CI
5+
6+
on: [pull_request, push]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Set up Conda
19+
uses: conda-incubator/setup-miniconda@v2
20+
with:
21+
activate-environment: hisp-env
22+
miniforge-version: latest
23+
channels: conda-forge
24+
environment-file: environment.yml
25+
26+
- name: Run example
27+
shell: bash -l {0}
28+
run: python simple_mb.py

0 commit comments

Comments
 (0)