Python: Handle empty lines in Description AST node and add test cases when there is only a comment between the scenario line and the first step #1932
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-go | |
on: | |
push: | |
branches: | |
- main | |
- renovate/** | |
paths: | |
- go/** | |
- testdata/** | |
- .github/** | |
pull_request: | |
branches: | |
- main | |
paths: | |
- go/** | |
- testdata/** | |
- .github/** | |
workflow_call: | |
jobs: | |
test-go: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
go: ['1.20.x', '1.21.x'] | |
include: | |
# Integration tests don't work on Windows, reason unknown | |
# - os: windows-latest | |
# go: '1.21.x' | |
- os: macos-latest | |
go: '1.21.x' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: lint | |
working-directory: go | |
run: gofmt -w . | |
- name: test | |
working-directory: go | |
run: go test --v ./... | |
- name: run acceptance tests | |
run: make acceptance | |
working-directory: go |