Skip to content

Commit e110bfd

Browse files
committed
Skip actix runtime tests in CI
These are largely the same as the tokio runtimes, and whether they compile is still checked.
1 parent eb0bb6e commit e110bfd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/sqlx.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ jobs:
146146
strategy:
147147
matrix:
148148
runtime: [async-std-native-tls, tokio-native-tls, actix-native-tls, async-std-rustls, tokio-rustls, actix-rustls]
149+
if: >
150+
!(github.event_name == 'pull_request' && startsWith(matrix.runtime, 'actix'))
149151
needs: check
150152
steps:
151153
- uses: actions/checkout@v2
@@ -182,6 +184,8 @@ jobs:
182184
matrix:
183185
postgres: [12, 10, 9_6, 9_5]
184186
runtime: [async-std-native-tls, tokio-native-tls, actix-native-tls, async-std-rustls, tokio-rustls, actix-rustls]
187+
if: >
188+
!(github.event_name == 'pull_request' && startsWith(matrix.runtime, 'actix'))
185189
needs: check
186190
steps:
187191
- uses: actions/checkout@v2
@@ -234,6 +238,8 @@ jobs:
234238
matrix:
235239
mysql: [8, 5_7, 5_6]
236240
runtime: [async-std-native-tls, tokio-native-tls, actix-native-tls, async-std-rustls, tokio-rustls, actix-rustls]
241+
if: >
242+
!(github.event_name == 'pull_request' && startsWith(matrix.runtime, 'actix'))
237243
needs: check
238244
steps:
239245
- uses: actions/checkout@v2
@@ -277,6 +283,8 @@ jobs:
277283
matrix:
278284
mariadb: [10_5, 10_4, 10_3, 10_2, 10_1]
279285
runtime: [async-std-native-tls, tokio-native-tls, actix-native-tls, async-std-rustls, tokio-rustls, actix-rustls]
286+
if: >
287+
!(github.event_name == 'pull_request' && startsWith(matrix.runtime, 'actix'))
280288
needs: check
281289
steps:
282290
- uses: actions/checkout@v2
@@ -321,6 +329,8 @@ jobs:
321329
matrix:
322330
mssql: [2019]
323331
runtime: [async-std-native-tls, tokio-native-tls, actix-native-tls, async-std-rustls, tokio-rustls, actix-rustls]
332+
if: >
333+
!(github.event_name == 'pull_request' && startsWith(matrix.runtime, 'actix'))
324334
needs: check
325335
steps:
326336
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)