Add go to specific segment function (#180) #323
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: testing | |
| on: [push] | |
| jobs: | |
| backend-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| cache: 'pip' | |
| - run: cd backend && pip install -r requirements.dev.txt | |
| - run: python3 -m nltk.downloader punkt_tab | |
| - run: cd backend && pytest | |
| - run: cd backend && ruff check . | |
| frontend-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - run: npm install -g pnpm | |
| - run: pnpm install -C ./frontend | |
| - run: pnpm run -C ./frontend lint | |
| - run: pnpm run -C ./frontend test |