forked from aws-deadline/deadline-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (49 loc) · 1.41 KB
/
code_quality.yml
File metadata and controls
53 lines (49 loc) · 1.41 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Code Quality
on:
pull_request:
branches: [ mainline, release, feature_assets_cli, 'patch_*' , "feature_*"]
workflow_call:
inputs:
branch:
required: false
type: string
tag:
required: false
type: string
jobs:
Test:
name: Python
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
uses: aws-deadline/.github/.github/workflows/reusable_python_build.yml@mainline
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
ref: ${{inputs.tag}}
TestPy38:
name: Python
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8']
uses: ./.github/workflows/reusable_python_build_coverage_override.yml
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
ref: ${{inputs.tag}}
# The incremental output download and mcp feature doesn't run on Python 3.8, so test coverage is lower
cov-fail-under: "74"
Attributions:
name: Attributions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{inputs.tag}}
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- run: pip install hatch
- run: hatch run attributions:check