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

Improve docstring re-indentation handling
[etc/vim.git] / .github / workflows / test.yml
1 name: Test
2
3 on: [push, pull_request]
4
5 jobs:
6   build:
7     runs-on: ${{ matrix.os }}
8     strategy:
9       fail-fast: false
10       matrix:
11         python-version: [3.6, 3.7, 3.8]
12         os: [ubuntu-latest, macOS-latest, windows-latest]
13
14     steps:
15       - uses: actions/checkout@v2
16
17       - name: Set up Python ${{ matrix.python-version }}
18         uses: actions/setup-python@v2
19         with:
20           python-version: ${{ matrix.python-version }}
21
22       - name: Install dependencies
23         run: |
24           python -m pip install --upgrade pip
25           python -m pip install --upgrade coverage
26           python -m pip install -e ".[d]"
27
28       - name: Unit tests
29         run: |
30           coverage run -m unittest