all repos

clerk @ e3c8c08

missing tooling for ledger/hledger
3 files changed, 22 insertions(+), 16 deletions(-)
ci: split test runner and fuzz tests
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2026-08-06 16:49:56 +0300
Authored at: 2026-08-06 16:42:57 +0300
Change ID: nzppqnkpkuprvxkpzzpukuwqvwuqswwm
Parent: cddf442
M .github/workflows/benchmarks.yml
···
        2
        2
         

      
        3
        3
         on:

      
        4
        4
           push:

      
        5
        
        -    branches: [main]

      
        
        5
        +    branches: [master]

      
        6
        6
           pull_request:

      
        7
        7
           workflow_dispatch:

      
        8
        8
         

      
M .github/workflows/ci.yml
···
        32
        32
                   path: |

      
        33
        33
                     coverage.html

      
        34
        34
                     coverage.out

      
        35
        
        -

      
        36
        
        -  fuzz:

      
        37
        
        -    runs-on: ubuntu-latest

      
        38
        
        -    timeout-minutes: 10

      
        39
        
        -    steps:

      
        40
        
        -      - uses: actions/checkout@v4

      
        41
        
        -      - uses: actions/setup-go@v5

      
        42
        
        -        with:

      
        43
        
        -          go-version-file: go.mod

      
        44
        
        -

      
        45
        
        -      - name: Fuzz lexer

      
        46
        
        -        run: go test -fuzz=FuzzLexer -fuzztime=90s ./journal/lexer/

      
        47
        
        -

      
        48
        
        -      - name: Fuzz parser

      
        49
        
        -        run: go test -fuzz=FuzzParser -fuzztime=90s ./journal/parser/

      
A .github/workflows/fuzz.yml
···
        
        1
        +name: Fuzz

      
        
        2
        +

      
        
        3
        +on:

      
        
        4
        +  push:

      
        
        5
        +  pull_request:

      
        
        6
        +

      
        
        7
        +jobs:

      
        
        8
        +  fuzz:

      
        
        9
        +    runs-on: ubuntu-latest

      
        
        10
        +    timeout-minutes: 10

      
        
        11
        +    steps:

      
        
        12
        +      - uses: actions/checkout@v4

      
        
        13
        +      - uses: actions/setup-go@v5

      
        
        14
        +        with:

      
        
        15
        +          go-version-file: go.mod

      
        
        16
        +

      
        
        17
        +      - name: Fuzz lexer

      
        
        18
        +        run: go test -fuzz=FuzzLexer -fuzztime=90s ./journal/lexer/

      
        
        19
        +

      
        
        20
        +      - name: Fuzz parser

      
        
        21
        +        run: go test -fuzz=FuzzParser -fuzztime=90s ./journal/parser/