]> git.madduck.net Git - etc/vim.git/blob - .github/workflows/fuzz.yml

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

blackd: show default values for options (#3712)
[etc/vim.git] / .github / workflows / fuzz.yml
1 name: Fuzz
2
3 on: [push, pull_request]
4
5 concurrency:
6   group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
7   cancel-in-progress: true
8
9 permissions:
10   contents: read
11
12 jobs:
13   build:
14     # We want to run on external PRs, but not on our own internal PRs as they'll be run
15     # by the push to the branch. Without this if check, checks are duplicated since
16     # internal PRs match both the push and pull_request events.
17     if:
18       github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
19       github.repository
20
21     runs-on: ubuntu-latest
22     strategy:
23       fail-fast: false
24       matrix:
25         python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
26
27     steps:
28       - uses: actions/checkout@v3
29
30       - name: Set up Python ${{ matrix.python-version }}
31         uses: actions/setup-python@v4
32         with:
33           python-version: ${{ matrix.python-version }}
34
35       - name: Install dependencies
36         run: |
37           python -m pip install --upgrade pip
38           python -m pip install --upgrade tox
39
40       - name: Run fuzz tests
41         run: |
42           tox -e fuzz