]> git.madduck.net Git - etc/vim.git/commitdiff

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:

Move primer to own workflow (#1451)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Fri, 22 May 2020 18:38:37 +0000 (21:38 +0300)
committerGitHub <noreply@github.com>
Fri, 22 May 2020 18:38:37 +0000 (11:38 -0700)
.github/workflows/primer.yml [new file with mode: 0644]
.github/workflows/test.yml

diff --git a/.github/workflows/primer.yml b/.github/workflows/primer.yml
new file mode 100644 (file)
index 0000000..b5dea5e
--- /dev/null
@@ -0,0 +1,31 @@
+name: Primer
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    runs-on: ${{ matrix.os }}
+    strategy:
+      fail-fast: false
+      matrix:
+        python-version: [3.6, 3.7, 3.8]
+        os: [ubuntu-latest, macOS-latest, windows-latest]
+
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: Set up Python ${{ matrix.python-version }}
+        uses: actions/setup-python@v2
+        with:
+          python-version: ${{ matrix.python-version }}
+
+      - name: Install dependencies
+        run: |
+          python -m pip install --upgrade pip
+          python -m pip install -e ".[d]"
+
+      - name: Primer run
+        env:
+          pythonioencoding: utf-8
+        run: |
+          black-primer
index 9fe99f55d6f1bf2edab058a0394490e43431991e..bd0af61e7f5321e66f4e0e69569b203fc1cd287f 100644 (file)
@@ -28,9 +28,3 @@ jobs:
       - name: Unit tests
         run: |
           coverage run -m unittest
       - name: Unit tests
         run: |
           coverage run -m unittest
-
-      - name: primer run
-        env:
-          pythonioencoding: utf-8
-        run: |
-          black-primer