-
Notifications
You must be signed in to change notification settings - Fork 34
43 lines (38 loc) · 968 Bytes
/
python.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
40
41
42
43
name: Python
on:
push:
branches:
- main
- python
pull_request:
branches:
- main
jobs:
Build:
name: ${{ matrix.name }} Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10"]
include:
- os: ubuntu-latest
name: Linux
- os: windows-latest
name: Windows
- os: macOS-latest
name: macOS
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 10
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Build and Install
run: pip install --verbose .
- name: Import Test
run: python -c "import ipctk"