|
1 | 1 | name: SME Forensic Lab CI |
2 | 2 |
|
3 | | -on: [push, pull_request] |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: [ "main" ] |
| 6 | + pull_request: |
| 7 | + branches: [ "main" ] |
4 | 8 |
|
5 | 9 | jobs: |
6 | 10 | build: |
7 | 11 | runs-on: ubuntu-latest |
| 12 | + |
8 | 13 | steps: |
9 | | - - uses: actions/checkout@v4 |
10 | | - - name: Set up Python 3.10 |
11 | | - uses: actions/setup-python@v4 |
| 14 | + - name: Checkout Code |
| 15 | + uses: actions/checkout@v4 |
| 16 | + |
| 17 | + - name: Set up Python 3.12 |
| 18 | + uses: actions/setup-python@v5 |
12 | 19 | with: |
13 | | - python-version: '3.10' # Matches your laptop environment |
| 20 | + python-version: '3.12' |
14 | 21 |
|
15 | | - - name: Install dependencies |
| 22 | + - name: Install Dependencies |
16 | 23 | run: | |
17 | 24 | python -m pip install --upgrade pip |
18 | | - # This filter skips pywin32 on Linux runners |
19 | | - sed -i '/pywin32/d' requirements.txt |
20 | 25 | pip install -r requirements.txt |
| 26 | +
|
21 | 27 | - name: Set up R |
22 | 28 | uses: r-lib/actions/setup-r@v2 |
| 29 | + |
23 | 30 | - name: Install Stylo |
24 | | - run: Rscript -e "install.packages('stylo', repos='https://cloud.r-project.org')" |
25 | | - - name: Run Core Verifications |
26 | 31 | run: | |
27 | | - python verify_pystyl.py |
28 | | - python verify_adaptive.py |
| 32 | + Rscript -e "install.packages('stylo', repos='https://cloud.r-project.org')" |
| 33 | +
|
| 34 | + - name: Core Verification |
| 35 | + run: | |
| 36 | + python -c "import numpy; print('NumPy Success:', numpy.__version__)" |
| 37 | + python -c "import numba; print('Numba Success:', numba.__version__)" |
0 commit comments