Skip to content

Commit 072e1d0

Browse files
committed
Add pipline
1 parent a5b6146 commit 072e1d0

3 files changed

Lines changed: 30 additions & 0 deletions

File tree

.DS_Store

6 KB
Binary file not shown.

.github/.DS_Store

6 KB
Binary file not shown.

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Python Lint and Test (L+T)
2+
3+
run-name: L+T, triggered by ${{ github.actor }}
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
pull_request:
10+
brances:
11+
- main
12+
13+
jobs:
14+
lint:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Check out repository code
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
- name: Set up Python
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.13'
25+
- name: Install dependencies
26+
run: |
27+
python -m conda install -e .
28+
python -m conda install -e . [lint]
29+
- name: Lint code
30+
run: ruff check --output-format=github .

0 commit comments

Comments
 (0)