Skip to content

Commit e6a2df8

Browse files
authored
Create chartlets-ci.yml
Add workflow for backend
1 parent e26c4b2 commit e6a2df8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/chartlets-ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Chartlets CI workflow
2+
on: [push]
3+
4+
jobs:
5+
backend_chartlets-py:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: git-checkout chartlets
9+
uses: actions/checkout@v4
10+
- name: Set up Micromamba
11+
uses: mamba-org/setup-micromamba@v1
12+
with:
13+
micromamba-version: '1.4.8-0'
14+
environment-file: chartlets.py/environment.yml
15+
init-shell: >-
16+
bash
17+
cache-environment: false
18+
post-cleanup: 'all'
19+
- name: Install dependencies
20+
run: |
21+
cd chartlets.py
22+
mamba env install
23+
- name: Run tests
24+
run: |
25+
cd chartlets.py
26+
pytest

0 commit comments

Comments
 (0)