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

Enable primer on CI Runs + add all README listed black projects into primer.json...
[etc/vim.git] / .github / workflows / test.yml
index de734da0eabd3a932868d4b98e4a9710617b4b30..9fe99f55d6f1bf2edab058a0394490e43431991e 100644 (file)
@@ -12,10 +12,10 @@ jobs:
         os: [ubuntu-latest, macOS-latest, windows-latest]
 
     steps:
-      - uses: actions/checkout@v1
+      - uses: actions/checkout@v2
 
       - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v1
+        uses: actions/setup-python@v2
         with:
           python-version: ${{ matrix.python-version }}
 
@@ -27,4 +27,10 @@ jobs:
 
       - name: Unit tests
         run: |
-          coverage run tests/test_black.py
+          coverage run -m unittest
+
+      - name: primer run
+        env:
+          pythonioencoding: utf-8
+        run: |
+          black-primer