forked from tianocore/edk2-pytool-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 906 Bytes
/
run-ci.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
# This workflow runs unit tests against the specified python versions on both
# ubuntu and windows. Additionally, it performs CI against the codebase.
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
variables:
name: Variables
uses: ./.github/workflows/VariableProducer.yml
ci:
needs: variables
name: CI
uses: ./.github/workflows/CIRunner.yml
with:
python-version: ${{ fromJson(needs.variables.outputs.python-versions)[0] }}
node-version: ${{ fromJson(needs.variables.outputs.node-versions)[0] }}
package-src: edk2toolext
unit-test:
needs: [variables,ci]
name: Unit Test
uses: ./.github/workflows/UnitTestRunner.yml
with:
python-versions: ${{ needs.variables.outputs.python-versions }}