forked from aws-deadline/deadline-cloud-worker-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (43 loc) · 1.15 KB
/
code_quality.yml
File metadata and controls
48 lines (43 loc) · 1.15 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
name: Code Quality
on:
pull_request:
branches: [ mainline, feature_*, 'patch_*' ]
workflow_call:
inputs:
branch:
required: false
type: string
tag:
required: false
type: string
jobs:
UnitTest:
name: Unit Tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
uses: aws-deadline/.github/.github/workflows/reusable_python_build.yml@mainline
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
ref: ${{inputs.tag}}
IntegrationTests:
name: Integration Tests
needs: UnitTest
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.tag || inputs.branch || github.ref }}
- name: Install Hatch
run: |
pip install --upgrade hatch "virtualenv<21"
- name: Run Integration Tests
run: hatch run integ-test