]> 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:

Remove click pin in diff-shades workflow (#2979)
[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 jobs:
15   build:
16     # We want to run on external PRs, but not on our own internal PRs as they'll be run
17     # by the push to the branch. Without this if check, checks are duplicated since
18     # internal PRs match both the push and pull_request events.
19     if:
20       github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
21       github.repository
22
23     runs-on: ${{ matrix.os }}
24     strategy:
25       fail-fast: false
26       matrix:
27         os: [ubuntu-latest, macOS-latest]
28
29     steps:
30       - uses: actions/checkout@v3
31
32       - name: Set up Python ${{ matrix.python-version }}
33         uses: actions/setup-python@v3
34
35       - name: Install latest pip
36         run: |
37           python -m pip install --upgrade pip
38
39       - name: Test uvloop Extra Install
40         run: |
41           python -m pip install -e ".[uvloop]"
42
43       - name: Format ourselves
44         run: |
45           python -m black --check src/