diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 06de61f..fb021ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,19 @@ jobs: uses: actions/checkout@v4 - name: Test run: go test ./... + runexamples: + strategy: + matrix: + go-version: [stable,oldstable] + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Install Go + uses: actions/setup-go@v4 + with: + go-version: ${{ matrix.go-version }} + - name: Checkout code + uses: actions/checkout@v4 - name: Test Examples run: for EX in $(ls _examples); do go run ./_examples/$EX; done coverage: