Skip to content

Commit 9439590

Browse files
committed
Add workflow for testing installation with pip
1 parent dceaa06 commit 9439590

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

.github/workflows/python_jobs.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on: [push, pull_request]
55
jobs:
66
job_1:
77
runs-on: ${{ matrix.os }}
8-
name: Build
8+
name: Test conda
99
strategy:
1010
fail-fast: false # complete remaining jobs
1111
matrix:
1212
os: [windows-latest, ubuntu-latest]
13-
python-version: ["3.9", "3.10", "3.11"]
13+
python-version: ["3.10", "3.11", "3.12"]
1414

1515
steps:
1616
- name: Checkout
@@ -42,3 +42,24 @@ jobs:
4242
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
4343
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4444
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
45+
job_2:
46+
runs-on: ${{ matrix.os }}
47+
name: Test pip
48+
strategy:
49+
fail-fast: false # complete remaining jobs
50+
matrix:
51+
os: [windows-latest, ubuntu-latest]
52+
python-version: ["3.10", "3.11", "3.12"]
53+
54+
steps:
55+
- name: Checkout
56+
uses: actions/checkout@v5 # use the latest code commit
57+
58+
- name: Setup pip with python ${{ matrix.python-version }}
59+
uses: actions/setup-python@v5
60+
with:
61+
python-version: ${{ matrix.python-version }}
62+
63+
- name: Install with pip
64+
run: |
65+
pip install .[full]

0 commit comments

Comments
 (0)