forked from databricks/databricks-sdk-py
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 715 Bytes
/
test.yml
File metadata and controls
35 lines (29 loc) · 715 Bytes
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
name: Test Workflow
on:
workflow_call:
inputs:
os:
required: true
type: string
pyVersion:
required: true
type: string
jobs:
test:
strategy:
fail-fast: false
runs-on: ${{ inputs.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
- uses: actions/setup-python@v4
with:
python-version: ${{ inputs.pyVersion }}
- name: Run tests
run: make dev install test
- name: Publish test coverage
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}