]> git.madduck.net Git - etc/vim.git/blob - .github/workflows/uvloop_test.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:

Add isort to linting toolchain
[etc/vim.git] / .github / workflows / uvloop_test.yml
1 name: test uvloop
2
3 on:
4   push:
5     paths-ignore:
6       - "docs/**"
7       - "*.md"
8
9   pull_request:
10     paths-ignore:
11       - "docs/**"
12       - "*.md"
13
14 permissions:
15   contents: read
16
17 jobs:
18   build:
19     # We want to run on external PRs, but not on our own internal PRs as they'll be run
20     # by the push to the branch. Without this if check, checks are duplicated since
21     # internal PRs match both the push and pull_request events.
22     if:
23       github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
24       github.repository
25
26     runs-on: ${{ matrix.os }}
27     strategy:
28       fail-fast: false
29       matrix:
30         os: [ubuntu-latest, macOS-latest]
31
32     steps:
33       - uses: actions/checkout@v3
34
35       - name: Set up Python ${{ matrix.python-version }}
36         uses: actions/setup-python@v4
37         with:
38           python-version: "*"
39
40       - name: Install latest pip
41         run: |
42           python -m pip install --upgrade pip
43
44       - name: Test uvloop Extra Install
45         run: |
46           python -m pip install -e ".[uvloop]"
47
48       - name: Format ourselves
49         run: |
50           python -m black --check src/