Skip to content

Commit

Permalink
Add GHA test for this action (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle authored Mar 26, 2024
1 parent 2917a0b commit 11e0926
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/file.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Some errors
===========

Those triple backticks are not a thing in rst:
```here```.

Here ``Callable``s the "s" should be separated from ``Callable`` using
a "backslash-space".

... versionchanged:: 3.11
Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm*
is not a context manager.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Test

on:
push:
branches:
main
pull_request:
branches:
main

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rffontenelle/sphinx-lint-problem-matcher@${{ github.sha }}
- run: pip install sphinx-lint
- run: sphinx-lint ./github/file.rst

0 comments on commit 11e0926

Please sign in to comment.