mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Fix Docs Accessibility Testing (#1588)
* update run_shell task to use newer python * add shell arg back * make tests run when certain files change
This commit is contained in:
parent
8032aa9f2f
commit
bd02c52d5a
3 changed files with 7 additions and 1 deletions
4
.github/workflows/docs.yaml
vendored
4
.github/workflows/docs.yaml
vendored
|
@ -12,6 +12,8 @@ on:
|
||||||
- 'mkdocs.yml'
|
- 'mkdocs.yml'
|
||||||
- 'readthedocs.yml'
|
- 'readthedocs.yml'
|
||||||
- '.github/workflows/docs.yaml'
|
- '.github/workflows/docs.yaml'
|
||||||
|
- 'tasks.py'
|
||||||
|
- 'pyproject.toml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ develop ]
|
branches: [ develop ]
|
||||||
paths:
|
paths:
|
||||||
|
@ -20,6 +22,8 @@ on:
|
||||||
- 'mkdocs.yml'
|
- 'mkdocs.yml'
|
||||||
- 'readthedocs.yml'
|
- 'readthedocs.yml'
|
||||||
- '.github/workflows/docs.yaml'
|
- '.github/workflows/docs.yaml'
|
||||||
|
- 'tasks.py'
|
||||||
|
- 'pyproject.toml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
accessibility:
|
accessibility:
|
||||||
|
|
2
.github/workflows/testing_prs.yaml
vendored
2
.github/workflows/testing_prs.yaml
vendored
|
@ -13,6 +13,7 @@ on:
|
||||||
- 'poetry.lock'
|
- 'poetry.lock'
|
||||||
- 'pyproject.toml'
|
- 'pyproject.toml'
|
||||||
- '.github/workflows/testing_prs.yaml'
|
- '.github/workflows/testing_prs.yaml'
|
||||||
|
- 'tasks.py'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ develop ]
|
branches: [ develop ]
|
||||||
paths:
|
paths:
|
||||||
|
@ -22,6 +23,7 @@ on:
|
||||||
- 'poetry.lock'
|
- 'poetry.lock'
|
||||||
- 'pyproject.toml'
|
- 'pyproject.toml'
|
||||||
- '.github/workflows/testing_prs.yaml'
|
- '.github/workflows/testing_prs.yaml'
|
||||||
|
- 'tasks.py'
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
|
2
tasks.py
2
tasks.py
|
@ -21,7 +21,7 @@ def delete_files(files):
|
||||||
|
|
||||||
def run_shell(command):
|
def run_shell(command):
|
||||||
# Required to run NPM commands in Windows and *nix
|
# Required to run NPM commands in Windows and *nix
|
||||||
subprocess.call(command, shell=True)
|
subprocess.run(command, check=True, shell=True)
|
||||||
|
|
||||||
|
|
||||||
def generate_sitemap():
|
def generate_sitemap():
|
||||||
|
|
Loading…
Add table
Reference in a new issue