Add context-graph.exclude to filter refs from the graph
#18
Workflow file for this run
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: Tests | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - 'doc/**' | |
| - 'git-context-graph-completion.bash' | |
| - 'LICENSE' | |
| - 'README.md' | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - 'doc/**' | |
| - 'git-context-graph-completion.bash' | |
| - 'LICENSE' | |
| - 'README.md' | |
| jobs: | |
| shellcheck: | |
| name: ShellCheck | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Run ShellCheck | |
| run: | | |
| sudo apt-get update -y | |
| sudo apt-get install shellcheck | |
| LC_ALL=C.UTF-8 shellcheck git-context-graph | |
| test: | |
| name: Test | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Show versions | |
| run: | | |
| bash --version | |
| git --version | |
| - name: Setup BATS | |
| uses: mig4/setup-bats@v1 | |
| with: | |
| bats-version: 1.13.0 | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Run tests | |
| run: bats --print-output-on-failure --formatter tap ./test |