Skip to content

Implement a simple Pratt Parser #3

Implement a simple Pratt Parser

Implement a simple Pratt Parser #3

Workflow file for this run

name: Go
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Generate Mocks and Run Tests
run: |
export GOPATH="$HOME/go/"
export PATH=$PATH:$GOPATH/bin
go install github.com/jstemmer/go-junit-report@latest
go test -v ./... | go-junit-report -set-exit-code > report.xml
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: JEST Tests
path: report.xml
reporter: jest-junit