Skip to content

Commit 61e5134

Browse files
committed
modification in ci.yaml
1 parent b6123f1 commit 61e5134

1 file changed

Lines changed: 20 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,23 @@ name: CI
66

77
on:
88
push:
9+
<<<<<<< HEAD
10+
=======
11+
paths-ignore:
12+
- "docs/**"
13+
>>>>>>> 76ac25b (modification in ci.yaml)
914
branches:
1015
- main
1116
pull_request:
1217
branches:
1318
- main
19+
<<<<<<< HEAD
1420
workflow_dispatch: # Allow manual trigger
21+
=======
22+
paths-ignore:
23+
- "docs/**"
24+
types: [opened, synchronize]
25+
>>>>>>> 76ac25b (modification in ci.yaml)
1526

1627
jobs:
1728
# ============================================================================
@@ -20,16 +31,16 @@ jobs:
2031
test:
2132
name: Test Python ${{ matrix.python-version }}
2233
runs-on: ubuntu-latest
23-
34+
2435
strategy:
2536
fail-fast: false
2637
matrix:
2738
python-version: ["3.10", "3.11", "3.12", "3.13"]
28-
39+
2940
defaults:
3041
run:
31-
shell: bash -el {0} # Required for conda activate
32-
42+
shell: bash -el {0} # Required for conda activate
43+
3344
steps:
3445
- name: Checkout repository
3546
uses: actions/checkout@v4
@@ -85,7 +96,7 @@ jobs:
8596
unit-tests:
8697
name: Unit Tests Python ${{ matrix.python-version }}
8798
runs-on: ubuntu-latest
88-
99+
89100
strategy:
90101
fail-fast: false
91102
matrix:
@@ -122,12 +133,12 @@ jobs:
122133
name: GPU Test
123134
runs-on: [self-hosted, gpu]
124135
if: github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[gpu]')
125-
continue-on-error: true # Don't fail the whole workflow if GPU tests fail
126-
136+
continue-on-error: true # Don't fail the whole workflow if GPU tests fail
137+
127138
defaults:
128139
run:
129140
shell: bash -el {0}
130-
141+
131142
steps:
132143
- name: Checkout repository
133144
uses: actions/checkout@v4
@@ -188,7 +199,7 @@ jobs:
188199
lint:
189200
name: Lint
190201
runs-on: ubuntu-latest
191-
202+
192203
steps:
193204
- name: Checkout repository
194205
uses: actions/checkout@v4

0 commit comments

Comments
 (0)