-
Notifications
You must be signed in to change notification settings - Fork 17
48 lines (44 loc) · 1.26 KB
/
Copy pathpythonpackage.yml
File metadata and controls
48 lines (44 loc) · 1.26 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: Build PR
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: false
matrix:
python-version:
- '3.14'
- '3.13'
- '3.12'
- '3.11'
- '3.10'
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Add ODBC repo
run: |
wget https://public.dhe.ibm.com/software/ibmi/products/odbc/debs/dists/1.1.0/ibmi-acs-1.1.0.list
sudo mv ibmi-acs-1.1.0.list /etc/apt/sources.list.d
sudo apt update
- name: Install unixodbc and driver on Linux
run: sudo apt install unixodbc-dev ibm-iaccess
- name: Install dependencies
run: |
pip install poetry
poetry config virtualenvs.create false
poetry install
# Our test system is currently unavailable, so disable this for now
#- name: Test with pytest
# run: |
# .github/scripts/runtests.py
# env:
# IBMI_HOSTNAME: ${{ secrets.IBMI_HOSTNAME }}
# IBMI_USERNAME: ${{ secrets.IBMI_USERNAME }}
# IBMI_PASSWORD: ${{ secrets.IBMI_PASSWORD }}