| 1 |
name: install |
| 2 |
on: |
| 3 |
- push |
| 4 |
- pull_request |
| 5 |
- workflow_dispatch |
| 6 |
|
| 7 |
jobs: |
| 8 |
install-from-sources: |
| 9 |
runs-on: ubuntu-latest |
| 10 |
steps: |
| 11 |
- uses: actions/checkout@v4 |
| 12 |
- uses: actions/setup-python@v5 |
| 13 |
with: |
| 14 |
# The oldest supported python version |
| 15 |
python-version: 3.9 |
| 16 |
- run: python -m pip install . |
| 17 |
- run: | |
| 18 |
bean-check --help |
| 19 |
bean-doctor --help |
| 20 |
bean-example --help |
| 21 |
bean-format --help |
| 22 |
install-from-sdist: |
| 23 |
runs-on: ubuntu-latest |
| 24 |
steps: |
| 25 |
- uses: actions/checkout@v4 |
| 26 |
- uses: actions/setup-python@v5 |
| 27 |
with: |
| 28 |
# The oldest supported python version |
| 29 |
python-version: 3.9 |
| 30 |
- run: python -m pip install build |
| 31 |
- run: python -m build --sdist |
| 32 |
- run: python -m pip install dist/beancount-*.tar.gz |
| 33 |
- run: | |
| 34 |
bean-check --help |
| 35 |
bean-doctor --help |
| 36 |
bean-example --help |
| 37 |
bean-format --help |