-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 1.22 KB
/
build-python.yaml
File metadata and controls
45 lines (38 loc) · 1.22 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
---
name: Build Python package(s)
on:
push:
branches:
- disabled
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
go-version: [1.22.x]
# go-version: [ '1.19', '1.20', '1.22.x' ]
steps:
- uses: actions/checkout@v4
# - name: Setup Go
# uses: actions/setup-go@v4
# with:
# go-version: ${{ matrix.go-version }}
# cache-dependency-path: go.sum
# - name: Install dependencies
# run: go get .
# - name: Test with Go
# run: go test -timeout 40s -run ^TestHello$ gotdf_python -count=1 # go test
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install poetry
- name: Invoke pylint with all dependencies
run: |
# Since we don't have our wheel build / install configured yet we use '--no-root'
poetry install --no-root
# poetry install
# Bring this back later
# poetry run pytest tests/