github.com/wasilibs/nottinygc@v0.7.2-0.20240312114022-d59c9478ef51/.github/workflows/e2e.yaml (about)

     1  name: E2E Tests
     2  on:
     3    push:
     4      branches:
     5        - main
     6    pull_request:
     7    schedule:
     8      # https://crontab.guru/#5_2_*_*_*
     9      - cron: '5 2 * * *'
    10    workflow_dispatch:
    11  
    12  jobs:
    13    e2e:
    14      runs-on: ubuntu-22.04
    15      strategy:
    16        fail-fast: false
    17        matrix:
    18          target:
    19            - coraza
    20            - envoyDispatchCall
    21            - higressGCTest
    22      steps:
    23        - uses: actions/checkout@v4
    24        - uses: actions/setup-go@v4
    25          with:
    26            go-version: '^1.20.0'
    27  
    28        - name: setup tinygo
    29          uses: acifani/setup-tinygo@v1
    30          with:
    31            tinygo-version: 0.30.0
    32  
    33        - run: go run mage.go e2e${{ matrix.target }}
    34  
    35        - uses: actions/upload-artifact@v3
    36          if: failure()
    37          with:
    38            name: ${{ matrix.target }}-logs
    39            path: build/logs/