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

Modify when Test, Primer, and Documentation Build run (#2226)
authorRichard Si <63936253+ichard26@users.noreply.github.com>
Thu, 13 May 2021 01:28:41 +0000 (21:28 -0400)
committerGitHub <noreply@github.com>
Thu, 13 May 2021 01:28:41 +0000 (21:28 -0400)
- Test and Primer don't run for documentation only changes since it's
  unnecessary, eating unnecessary cycles and slowing down CI since these
  workflows eat up the 20 max workers limit quite easily!

- Documentation Build runs all of the time now since quite a bit of the
  content depends on Black's code so even a simple 1-file change in
  src/black/__init__.py may break the docs build. It's not like this is
  a costly workflow anyway.

Fuzz is still running on all changes because with fuzzing, the more the
better in general. 6 or 7 jobs on a documentation only commit is much
better than 27/28 jobs anyway :p

I also found an error in our bug report issue template :)

.github/ISSUE_TEMPLATE/bug_report.md
.github/workflows/doc.yml
.github/workflows/primer.yml
.github/workflows/test.yml

index c6c80be5345b8fa1ba4acb6ee84f6c07ba48a222..069795f7776d5bb054cfd31bf24c96f9a07c57ae 100644 (file)
@@ -30,7 +30,7 @@ assignees: ""
    - clone this repository;
    - run `pip install -e .[d,python2]`;
    - run `pip install -r test_requirements.txt`
-   - make sure it's sane by running `python -m unittest`; and
+   - make sure it's sane by running `python -m pytest`; and
    - run `black` like you did last time.
 
 **Additional context** Add any other context about the problem here.
index 74ec316a7cfeb0e8e7db49e13103399d7c9e919c..04b25cf2a16a61edc255bf5bbc78fed5cfb9cbc7 100644 (file)
@@ -1,20 +1,6 @@
 name: Documentation Build
 
-on:
-  push:
-    paths:
-      - "docs/**"
-      - "README.md"
-      - "CHANGES.md"
-      - "CONTRIBUTING.md"
-      - "AUTHORS.md"
-  pull_request:
-    paths:
-      - "docs/**"
-      - "README.md"
-      - "CHANGES.md"
-      - "CONTRIBUTING.md"
-      - "AUTHORS.md"
+on: [push, pull_request]
 
 jobs:
   build:
index 4c5751ae996e8834fe19623666f9a317ddcc15d1..5f41c3017379a2a2a88eeb57632d5572e689af52 100644 (file)
@@ -1,6 +1,15 @@
 name: Primer
 
-on: [push, pull_request]
+on:
+  push:
+    paths-ignore:
+      - "docs/**"
+      - "*.md"
+
+  pull_request:
+    paths-ignore:
+      - "docs/**"
+      - "*.md"
 
 jobs:
   build:
index 2cfbab67ce1c124c7976751226c6a5c77096bc45..ef8debb3fb74ce8973ad61ff864b8ecef59529a2 100644 (file)
@@ -1,6 +1,15 @@
 name: Test
 
-on: [push, pull_request]
+on:
+  push:
+    paths-ignore:
+      - "docs/**"
+      - "*.md"
+
+  pull_request:
+    paths-ignore:
+      - "docs/**"
+      - "*.md"
 
 jobs:
   build: