Skip to content

Try to fix flaky test #467

Try to fix flaky test

Try to fix flaky test #467

Workflow file for this run

name: Go
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
build_tags:
- 'dummytagforwindows' # Non existent tag because windows shell drops empty arguments
- 'noquotas'
- 'nocontpool noregpool'
- 'noquotas nocontpool noregpool'
- 'safepool'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: All tests
run: go test -tags "${{ matrix.build_tags }}" -coverprofile="coverage.txt" -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: ./coverage.txt
name: codecov-all-tests
verbose: true
- name: Build CLI
run: go build -tags "${{ matrix.build_tags }}"
- name: Check out Lua Test Suite 5.4.3
uses: actions/checkout@v4
with:
repository: arnodel/golua-tests
ref: golua-5.4
path: ./lua-test-suite
- name: Run Lua Test Suite
run: ../golua -u -e "_U=true" -e "_OS='${{ matrix.os }}'" all.lua
working-directory: ./lua-test-suite