Skip to content

Commit ff9671a

Browse files
committed
Update continuous integration test
Set up GitHub Actions workflow to run pytest Removed packaging test Set NumPy requirements to <2.0.0 due to PyTables incompatibility
1 parent ab43814 commit ff9671a

File tree

3 files changed

+27
-92
lines changed

3 files changed

+27
-92
lines changed

.github/workflows/main.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on: [push, pull_request]
2+
3+
jobs:
4+
5+
test:
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
python: ["3.10", "3.11", "3.12"]
10+
steps:
11+
- uses: actions/checkout@v3
12+
13+
- name: Setup Python
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: ${{ matrix.python }}
17+
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install .
22+
23+
- name: Test with pytest
24+
run: |
25+
pip install pytest
26+
pytest

.github/workflows/pythonpackage.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
long_description = readme + '\n\n' + changelog + '\n\n' + citation
2727

2828
install_requires = [
29-
'numpy',
29+
'numpy<2.0.0',
3030
'cantera>=3.0.1',
3131
'networkx',
3232
'tables',

0 commit comments

Comments
 (0)