File: install.yaml

package info (click to toggle)
beangulp 0.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 876 kB
  • sloc: python: 4,199; xml: 32; makefile: 6; sh: 5
file content (39 lines) | stat: -rw-r--r-- 1,190 bytes parent folder | download | duplicates (2)
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
name: install
on:
  - push
  - pull_request
jobs:
  install:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          # we support >= py37
          # but beancount trunk only support py>=39
          python-version: '3.9'
      # Install dependencies for the example importers
      - run: sudo apt install poppler-utils
      - run: python -m pip install .
      - name: Run smoke test
        run: |
          cd examples
          python import.py --help
      - name: Run example importers unit tests
        run: |
          cd examples
          python -m unittest
      - name: Run example importers tests
        run: |
          cd examples
          python importers/acme.py test tests/acme --verbose
          python importers/csvbank.py test tests/csvbank --verbose
          python importers/utrade.py test tests/utrade --verbose
      - name: Run example ledger.import
        run: |
          cd examples
          python import.py identify Downloads -v
          python import.py extract Downloads
          python import.py archive Downloads -n -o documents