ci: rename workflow from LuaJIT Tests to CI and clean up Go installat… #27
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test-unit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install LuaJIT and LuaRocks | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y luajit luarocks | |
| - name: Install luaunit | |
| run: sudo luarocks install luaunit | |
| - name: Run LuaJIT tests | |
| run: make test | |
| test-e2e: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.22' | |
| - name: Run Golang E2E tests | |
| run: make test-e2e |