fix: use two-pass collect+sort in GTD query to fix sort with custom a… #22
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: Emacs Lisp CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| emacs_version: | |
| - "30.2" | |
| permissions: | |
| contents: read | |
| packages: read | |
| statuses: write | |
| checks: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v6 # zizmor: ignore[unpinned-uses] | |
| with: | |
| persist-credentials: false | |
| - name: Set up Emacs | |
| uses: purcell/setup-emacs@master # zizmor: ignore[unpinned-uses] | |
| with: | |
| version: ${{ matrix.emacs_version }} | |
| - name: Set up Eask | |
| uses: emacs-eask/setup-eask@master # zizmor: ignore[unpinned-uses] | |
| with: | |
| version: "snapshot" | |
| - name: Run tests | |
| env: | |
| EMACS_TEST_JUNIT_REPORT: org-mcp-test.xml | |
| run: | | |
| eask clean all | |
| eask package | |
| eask install | |
| eask compile | |
| eask lint elisp-lint | |
| eask lint keywords | |
| eask lint regexps | |
| eask run script test | |
| - name: Upload test results | |
| uses: actions/upload-artifact@v4 # zizmor: ignore[unpinned-uses] | |
| with: | |
| name: test-results-${{ matrix.os }}-emacs-${{ matrix.emacs_version }} | |
| path: org-mcp-test.xml | |
| retention-days: 30 | |
| - name: Publish Test Results | |
| uses: EnricoMi/publish-unit-test-result-action@v2 # zizmor: ignore[unpinned-uses] | |
| if: matrix.os == 'ubuntu-latest' | |
| with: | |
| files: org-mcp-test.xml | |
| check_name: Test Results (Emacs ${{ matrix.emacs_version }}) | |
| comment_mode: off | |
| - name: Publish Test Results (macOS) | |
| uses: dorny/test-reporter@v1 # zizmor: ignore[unpinned-uses] | |
| if: matrix.os == 'macos-latest' | |
| with: | |
| name: Test Results (macOS, Emacs ${{ matrix.emacs_version }}) | |
| path: org-mcp-test.xml | |
| reporter: java-junit |