Skip to content

Commit 84b990c

Browse files
committed
rejigger ci workflow files [skip ci]
1 parent a2a54df commit 84b990c

File tree

6 files changed

+94
-97
lines changed

6 files changed

+94
-97
lines changed

.github/workflows/deploy_docs_pypi_onrelease.yml renamed to .github/workflows/auto_deploy_docs_pypi_onrelease.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
name: (Auto) Deploy Docs and PyPI on release
1+
name: (Auto-On-Release) Deploy Docs and PyPI
22

33
on: release
44

55
jobs:
66
# Job (1): Build and deploy docs.
77
docs:
8-
if: "!contains(github.event.head_commit.message, 'skip ci')"
98
name: Build & deploy docs
109
runs-on: ubuntu-latest
1110
steps:
@@ -59,7 +58,6 @@ jobs:
5958

6059
# Job (2): Build package and upload to pypi
6160
deploy:
62-
if: "!contains(github.event.head_commit.message, 'skip ci')"
6361
name: Build & deploy package
6462
runs-on: ubuntu-latest
6563
needs: docs

.github/workflows/tests_and_coverage.yml renamed to .github/workflows/auto_formatting_tests_and_coverage.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: (Auto) Tests and Coverage
1+
name: (Auto-On-Push/PR) Formatting, Tests, and Coverage
22

33
on:
44
push:
@@ -14,7 +14,6 @@ on:
1414
jobs:
1515
# Job (1): Run testing in parallel against multiples OSs and Python versions
1616
test:
17-
if: "!contains(github.event.head_commit.message, 'skip ci')"
1817
name: Test
1918
runs-on: ${{ matrix.os }}
2019
# Determines whether the entire workflow should pass/fail based on parallel jobs
@@ -69,7 +68,8 @@ jobs:
6968
# Check code formatting
7069
- name: Check code formatting
7170
run: |
72-
black nltools --check --diff
71+
black --version
72+
black --check --diff --verbose nltools
7373
7474
# Actually run the tests with coverage
7575
- name: Run Tests
@@ -91,7 +91,6 @@ jobs:
9191

9292
# Job (2): Send a finish notification to coveralls.io to integrate coverage across parallel tests
9393
coveralls:
94-
if: "!contains(github.event.head_commit.message, 'skip ci')"
9594
name: Coveralls.io Upload
9695
needs: test
9796
runs-on: ubuntu-latest
@@ -107,7 +106,6 @@ jobs:
107106

108107
# Job (3): Build docs, but don't deploy. This is effectively another layer of testing because of our sphinx-gallery auto-examples
109108
docs:
110-
if: "!contains(github.event.head_commit.message, 'skip ci')"
111109
name: Build docs and auto-examples
112110
runs-on: ubuntu-latest
113111
steps:

.github/workflows/cron_tests.yml renamed to .github/workflows/cron_tests_and_coverage.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: (Auto) Tests and Coverage
1+
name: (Auto-Weekly) Tests and Coverage
22

33
on:
44
# Run tests every week on sundays
@@ -8,7 +8,6 @@ on:
88
jobs:
99
# Job (1): Run testing in parallel against multiples OSs and Python versions
1010
test:
11-
if: "!contains(github.event.head_commit.message, 'skip ci')"
1211
name: Test
1312
runs-on: ${{ matrix.os }}
1413
# Determines whether the entire workflow should pass/fail based on parallel jobs
@@ -80,7 +79,6 @@ jobs:
8079

8180
# Job (2): Send a finish notification to coveralls.io to integrate coverage across parallel tests
8281
coveralls:
83-
if: "!contains(github.event.head_commit.message, 'skip ci')"
8482
name: Coveralls.io Upload
8583
needs: test
8684
runs-on: ubuntu-latest
@@ -96,7 +94,6 @@ jobs:
9694

9795
# Job (3): Build docs, but don't deploy. This is effectively another layer of testing because of our sphinx-gallery auto-examples
9896
docs:
99-
if: "!contains(github.event.head_commit.message, 'skip ci')"
10097
name: Build docs and auto-examples
10198
runs-on: ubuntu-latest
10299
steps:

.github/workflows/deploy_docs_only.yml renamed to .github/workflows/manual_deploy_docs_only.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on: workflow_dispatch
44

55
jobs:
66
docs:
7-
if: "!contains(github.event.head_commit.message, 'skip ci')"
87
name: Build & deploy docs
98
runs-on: ubuntu-latest
109
steps:

.github/workflows/deploy_pypi_only.yml renamed to .github/workflows/manual_deploy_pypi_only.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on: workflow_dispatch
44

55
jobs:
66
deploy:
7-
if: "!contains(github.event.head_commit.message, 'skip ci')"
87
name: Build & deploy package
98
runs-on: ubuntu-latest
109
steps:

0 commit comments

Comments
 (0)