forked from huggingface/dataset-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (35 loc) · 972 Bytes
/
s-worker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# SPDX-License-Identifier: Apache-2.0
# Copyright 2022 The HuggingFace Authors.
name: services/worker
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "libs/libcommon/**"
- "services/worker/**"
- ".github/workflows/s-worker.yml"
- ".github/workflows/_quality-python.yml"
- ".github/workflows/_unit-tests-python.yml"
- "tools/docker-compose-mongo.yml"
- "vendors/"
pull_request:
paths:
- "libs/libcommon/**"
- "services/worker/**"
- ".github/workflows/s-worker.yml"
- ".github/workflows/_quality-python.yml"
- ".github/workflows/_unit-tests-python.yml"
- "tools/docker-compose-mongo.yml"
- "vendors/"
jobs:
quality:
uses: ./.github/workflows/_quality-python.yml
with:
working-directory: services/worker
unit-tests:
uses: ./.github/workflows/_unit-tests-python.yml
with:
working-directory: services/worker
secrets: inherit