Skip to content

Commit

Permalink
force beancount < 3 and enable tests also on pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
tarioch committed Aug 14, 2024
1 parent fa72974 commit b0fe90b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: ci
on:
push:
pull_request:
jobs:
test:
name: Run tests and build distribution
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.12, 3.8]
steps:
- uses: actions/checkout@master
with:
Expand All @@ -34,7 +35,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v1
with:
python-version: 3.9
python-version: 3.12
- name: Install Dependencies
run: |
pip install wheel setuptools
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: '^docs/conf.py'

repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
Expand All @@ -18,7 +18,7 @@ repos:
args: ['--fix=auto']

- repo: https://github.com/pycqa/isort
rev: 5.9.3
rev: 5.13.2
hooks:
- id: isort

Expand All @@ -28,7 +28,7 @@ repos:
- id: black
language_version: python3

- repo: https://gitlab.com/pycqa/flake8
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ packages = find:
setup_requires =
setuptools_scm
install_requires =
beancount>=2.0.0
beancount>=2.0.0,<3.0.0
scikit-learn>=0.19
numpy>=1.8.2
scipy>=0.13.3
Expand Down

0 comments on commit b0fe90b

Please sign in to comment.