feat: replace SM-2 with FSRS-5, add enrich/feedback/analytics/sync, e… #43
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] | |
| env: | |
| PYTHON_VERSION: "3.10" | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Install dependencies | |
| run: pip install ruff pyyaml markdown pygments | |
| - name: Lint | |
| run: ruff check --output-format=github scripts/ tests/ | |
| - name: Format check | |
| run: ruff format --check scripts/ tests/ | |
| - name: Run tests | |
| run: bash tests/run.sh |