Skip to content

Commit a62f6d7

Browse files
authored
Merge pull request #4 from stanfish06/add-test-build-workflow
Add GitHub Action to test package build
2 parents 5d05966 + b21a780 commit a62f6d7

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

‎.github/workflows/test-build.yml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Test Build
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
test-build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Install uv
17+
run: curl -LsSf https://astral.sh/uv/install.sh | sh
18+
19+
- name: Test package build
20+
run: |
21+
export PATH="$HOME/.cargo/bin:$PATH"
22+
make build
23+
echo "✓ Build successful"

‎README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# scloop - single-cell loop analysis
22

3-
[![Test](https://github.com/stanfish06/scLoop/actions/workflows/test-import.yml/badge.svg)](https://github.com/stanfish06/scLoop/actions/workflows/test-import.yml)
3+
[![Test Import](https://github.com/stanfish06/scLoop/actions/workflows/test-import.yml/badge.svg)](https://github.com/stanfish06/scLoop/actions/workflows/test-import.yml)
4+
[![Test Build](https://github.com/stanfish06/scLoop/actions/workflows/test-build.yml/badge.svg)](https://github.com/stanfish06/scLoop/actions/workflows/test-build.yml)
45

56
**Note: this package is still under development.**
67

0 commit comments

Comments
 (0)