File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Command-Line Tests
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ run-tests :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ python-version : ["3.8", "3.9", "3.10", "3.11"]
11+
12+ steps :
13+ - name : Checkout Repository
14+ uses : actions/checkout@v4
15+
16+ - name : Set Up Python ${{ matrix.python-version }}
17+ uses : actions/setup-python@v4
18+ with :
19+ python-version : ${{ matrix.python-version }}
20+
21+ - name : Install Dependencies
22+ run : |
23+ python -m venv venv
24+ source venv/bin/activate
25+ pip install --upgrade pip
26+ pip install . # Install project dependencies from pyproject.toml
27+
28+ - name : Run Test Script
29+ run : |
30+ chmod +x tests/test_clis.sh
31+ ./tests/test_clis.sh
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Example command-line operations
3+ echo " Running membrain"
4+ membrain
5+ echo " Running membrain_pick"
6+ membrain_pick
7+ echo " Running membrain_stats"
8+ membrain_stats
You can’t perform that action at this time.
0 commit comments