-
Notifications
You must be signed in to change notification settings - Fork 53
39 lines (32 loc) · 1.01 KB
/
python-app.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
37
38
39
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Build and Test
on:
[push, pull_request]
jobs:
# Check for Python 3.8 first. If this one fails,
# there is no need to check other versions of Python
build-python-38:
uses: ./.github/workflows/python-action.yml
with:
python-version: "3.8"
build-python-37:
needs: build-python-38
uses: ./.github/workflows/python-action.yml
with:
python-version: "3.7"
build-python-39:
needs: build-python-38
uses: ./.github/workflows/python-action.yml
with:
python-version: "3.9"
build-python-310:
needs: build-python-38
uses: ./.github/workflows/python-action.yml
with:
python-version: "3.10"
# build-python-311:
# needs: build-python-38
# uses: ./.github/workflows/python-action.yml
# with:
# python-version: "3.11"