Skip to content

Commit 29e48de

Browse files
authored
Merge pull request #61 from akhundMurad/fix/ci-cd
fix: resolve dependency conflicts in GitHub CI/CD
2 parents 3fa6b15 + 67cd1ea commit 29e48de

4 files changed

Lines changed: 12 additions & 15 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Publish Docs
22

33
on:
4-
push:
5-
tags:
6-
- "v*"
4+
release:
5+
types: [published]
6+
workflow_call:
77

88
permissions:
99
contents: write
@@ -15,14 +15,13 @@ jobs:
1515
deploy:
1616
runs-on: ubuntu-latest
1717
needs: test
18-
1918
steps:
2019
- uses: actions/checkout@v4
2120

2221
- uses: actions/setup-python@v5
2322
with:
2423
python-version: "3.11"
25-
24+
2625
- name: Install uv
2726
uses: astral-sh/setup-uv@v3
2827

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Publish to PyPI
22

33
on:
4-
push:
5-
tags:
6-
- "v*"
4+
release:
5+
types: [published]
76

87
permissions:
98
contents: read
@@ -12,11 +11,12 @@ permissions:
1211
jobs:
1312
test:
1413
uses: ./.github/workflows/test.yml
15-
14+
1615
docs:
1716
uses: ./.github/workflows/docs.yml
1817

1918
build-wheels:
19+
name: Build wheels (${{ matrix.os }})
2020
runs-on: ${{ matrix.os }}
2121
needs:
2222
- test
@@ -26,6 +26,7 @@ jobs:
2626
matrix:
2727
os: [ubuntu-latest, macos-latest, windows-latest]
2828
python-version: ["3.11"]
29+
2930
steps:
3031
- name: Checkout
3132
uses: actions/checkout@v4

.github/workflows/test-rust-accel.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Test Rust Acceleration
22

33
on:
44
workflow_call:
5-
workflow_dispatch:
6-
pull_request:
75
push:
86
branches: [main]
97

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
name: Run Tests
22

33
on:
4-
release:
5-
types: [published]
4+
workflow_call:
5+
66
push:
7-
branches:
8-
- main
7+
branches: [main]
98
paths-ignore:
109
- '**.md'
1110

0 commit comments

Comments
 (0)