Skip to content

Commit 4d1b38b

Browse files
committed
Only run arch check on main/develop
1 parent c82f542 commit 4d1b38b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
uses: codecov/codecov-action@v1
100100

101101
test-arch:
102+
if: startsWith(github.ref, 'refs/tags') || github.ref == refs/heads/develop || github.ref == refs/heads/main
102103
name: Test on ${{ matrix.distro }} ${{ matrix.arch }}
103104
runs-on: "ubuntu-latest"
104105
needs: lint
@@ -154,9 +155,9 @@ jobs:
154155
PYTHON_ISAL_LINK_DYNAMIC: True
155156

156157
deploy:
157-
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
158+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
158159
runs-on: ${{ matrix.os }}
159-
needs: [lint, package-checks, test-static, test-dynamic]
160+
needs: [lint, package-checks, test-static, test-dynamic, test-arch]
160161
strategy:
161162
matrix:
162163
os: ["macos-latest", "ubuntu-latest", "windows-latest"]

0 commit comments

Comments
 (0)