Fix Join Description in Readme (#62) #26
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] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| nim: | |
| - stable | |
| name: Test on nim ${{ matrix.nim }} | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v4 | |
| - name: Cache choosenim | |
| id: cache-choosenim | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.choosenim | |
| key: ${{ runner.os }}-choosenim-stable | |
| - name: Cache nimble | |
| id: cache-nimble | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.nimble | |
| key: ${{ runner.os }}-nimble-stable | |
| - name: Setup nim | |
| uses: jiro4989/setup-nim-action@v2 | |
| with: | |
| nim-version: ${{ matrix.nim }} | |
| - name: Setup postgresql | |
| uses: harmon758/postgresql-action@v1 | |
| with: | |
| postgresql version: '14' | |
| postgresql user: 'test' | |
| postgresql password: 'test' | |
| postgresql db: 'test' | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libpcre3-dev | |
| - name: Install dependencies | |
| run: | | |
| nimble --useSystemNim install -d | |
| nimble --useSystemNim install karax -y | |
| nimble --useSystemNim install jester -y | |
| - name: Run test | |
| run: nimble --useSystemNim test | |
| env: | |
| PGPASSWORD: test | |
| - name: Build examples | |
| run: nimble buildexamples |