mirror of
https://github.com/qdrant/fastembed.git
synced 2026-07-30 22:51:03 -05:00
new: disable windows and macos tests on gpu and its child branches
This commit is contained in:
20
.github/workflows/python-tests.yml
vendored
20
.github/workflows/python-tests.yml
vendored
@@ -2,7 +2,7 @@ name: Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, main ]
|
||||
branches: [ main ]
|
||||
schedule:
|
||||
- cron: 0 0 * * *
|
||||
pull_request:
|
||||
@@ -21,10 +21,20 @@ jobs:
|
||||
- '3.10.x'
|
||||
- '3.11.x'
|
||||
- '3.12.x'
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
- windows-latest
|
||||
os: [ ubuntu-latest ]
|
||||
include:
|
||||
- os: macos-latest
|
||||
python-version: [ '3.8.x', '3.9.x', '3.10.x', '3.11.x', '3.12.x' ]
|
||||
if: >-
|
||||
${{ !contains(github.ref, 'refs/heads/gpu') &&
|
||||
github.event_name != 'pull_request' ||
|
||||
github.event.pull_request.base.ref != 'gpu' }}
|
||||
- os: windows-latest
|
||||
python-version: [ '3.8.x', '3.9.x', '3.10.x', '3.11.x', '3.12.x' ]
|
||||
if: >-
|
||||
${{ !contains(github.ref, 'refs/heads/gpu') &&
|
||||
github.event_name != 'pull_request' ||
|
||||
github.event.pull_request.base.ref != 'gpu' }}
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user