feat: improve text width calculation #467
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: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| services: | |
| arangodb: | |
| image: arangodb/arangodb:latest | |
| env: | |
| ARANGO_ROOT_PASSWORD: password | |
| ports: | |
| - 8529:8529 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Copy database configuration | |
| run: cp config/database.json.arangodb.sample config/database.json | |
| - name: Wait for ArangoDB to be up | |
| run: sleep 5 | |
| - name: Start Application | |
| run: | | |
| touch .env | |
| sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/status' | |
| BEANS_ENV=production ./luaonbeans.org -D . -s -d | |
| sleep 1 | |
| - name: Run tests | |
| run: ./luaonbeans.org -i beans.lua specs |