Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generation of tests and review pages script improvements #451

Merged
merged 46 commits into from
Jun 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
0496c10
updated create-all-tests script to add verbose flag and provide summa…
howard-e May 26, 2021
c938c54
Generate test and review files automatically
howard-e May 27, 2021
c7432e7
Generate test and review files automatically
howard-e May 27, 2021
79962d8
Merge pull request #2 from howard-e/generate-tests-verbosity
howard-e Jun 2, 2021
4e99651
Generated tests improvements (#3)
howard-e Jun 2, 2021
21ef818
Generate test and review files automatically
howard-e Jun 2, 2021
5b54624
changed update-pr.yml workflow generated link
howard-e Jun 2, 2021
0e3431b
typo fix in review-template file
howard-e Jun 3, 2021
cf2d5fb
* removed in-line tests and review pages generation
howard-e Jun 4, 2021
d3125b3
Generate test and review files automatically
howard-e Jun 4, 2021
dc450cd
added targeted test plan directory support for npm run build (create-…
howard-e Jun 4, 2021
4415430
start to support of targeted test plan directory for test-reviewer.mjs
howard-e Jun 4, 2021
992b16e
added support for targeted test plan directory for test-reviewer.mjs
howard-e Jun 4, 2021
1409a7f
added targeted test plan support for npm run build and npm run validate
howard-e Jun 5, 2021
04e3304
Generate test and review files automatically
howard-e Jun 5, 2021
19e7bef
Added local development docs
howard-e Jun 8, 2021
525d21d
Generate test and review files automatically
howard-e Jun 8, 2021
3bed205
Updated LOCAL_DEVELOPMENT.md
howard-e Jun 8, 2021
852d56b
Added local development docs
howard-e Jun 8, 2021
9dd7fde
Merge remote-tracking branch 'origin/develop' into develop
howard-e Jun 8, 2021
c76415c
Generate test and review files automatically
howard-e Jun 8, 2021
e7dace2
Updated README with correct flag
howard-e Jun 8, 2021
231d8ff
Generate test and review files automatically
howard-e Jun 8, 2021
cfff67b
changed language for test plan flag from 'directory' to 'testplan'
howard-e Jun 9, 2021
3ab4fc0
addressing PR feedback
howard-e Jun 10, 2021
f75979b
Generate test and review files automatically
howard-e Jun 10, 2021
28a5211
Merge branch 'master' into develop
howard-e Jun 11, 2021
2bee528
Generate test and review files automatically
howard-e Jun 11, 2021
bd4e769
Merge branch 'master' into develop
howard-e Jun 14, 2021
d99ccf2
Windows support
howard-e Jun 15, 2021
6a4b75f
fix for bug where test plan summary total was falsely reported
howard-e Jun 15, 2021
b9c92ab
Generate test and review files automatically
howard-e Jun 15, 2021
0f3f510
fix for bug where test plans processed total was incorrect
howard-e Jun 16, 2021
e648651
Merge remote-tracking branch 'origin/develop' into develop
howard-e Jun 16, 2021
5a0f54f
Generate test and review files automatically
howard-e Jun 16, 2021
c477d65
now only moving required files to /build/tests/resources; revised .gi…
howard-e Jun 16, 2021
c19db7b
Generate test and review files automatically
howard-e Jun 16, 2021
2c60154
Updated LOCAL_DEVELOPMENT.md
howard-e Jun 16, 2021
0cf798d
Merge remote-tracking branch 'origin/develop' into develop
howard-e Jun 16, 2021
7ca3f48
Generate test and review files automatically
howard-e Jun 16, 2021
7dd5a50
Merge branch 'master' into develop
howard-e Jun 16, 2021
8377d29
Generate test and review files automatically
howard-e Jun 16, 2021
2df970f
re-added README and GitHub action changes
howard-e Jun 16, 2021
9d9a731
Generate test and review files automatically
howard-e Jun 16, 2021
cb629e0
template typo fix
howard-e Jun 16, 2021
d92e36c
Generate test and review files automatically
howard-e Jun 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# build folder
/build/**/*.json -diff -merge
/build/**/*.html linguist-generated=true
/build/*.json -diff -merge
/build/*.html linguist-generated=true
/build/index.html -diff -merge
/build/index.html linguist-generated=true
/build/review/*.html -diff -merge
/build/review/*.html linguist-generated=true
/build/tests/*/*.html -diff -merge
/build/tests/*/*.html linguist-generated=true
/build/tests/*/*.json -diff -merge
/build/tests/*/*.json linguist-generated=true
/build/tests/*/*.mjs -diff -merge
/build/tests/*/*.mjs linguist-generated=true
35 changes: 19 additions & 16 deletions .github/workflows/generate-and-commit-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,27 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Install dependencies
run: npm ci
- name: Install dependencies
run: npm ci

- name: Generate test files
run: npm run create-all-tests
# - name: Generate test files
# run: npm run create-all-tests

- name: Generate review files
run: npm run review-tests
# - name: Generate review files
# run: npm run review-tests

- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Generate test and review files automatically
- name: Generate test and review files
run: npm run build

- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Generate test and review files automatically
2 changes: 1 addition & 1 deletion .github/workflows/update-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
head-branch-regex: '.*'
title-template: ''
body-template: '[Preview Tests](https://raw.githack.com/w3c/aria-at/%headbranch%/index.html)'
body-template: '[Preview Tests](https://raw.githack.com/w3c/aria-at/%headbranch%/build/index.html)'
body-update-action: prefix
body-uppercase-head-match: false
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/node_modules

.#*

.DS_*
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ You can participate by:

This project is managed by the [Authoring Practices Task Force](https://www.w3.org/WAI/ARIA/task-forces/practices/) of the [ARIA Working Group](http://www.w3.org/WAI/ARIA/). The W3C staff contact is [Michael Cooper](http://www.w3.org/People/cooper/).

## Running Locally
Documentation for running this locally is available at [docs/LOCAL_DEVELOPMENT.md](docs/LOCAL_DEVELOPMENT.md).

## Conduct

All contributors to this project are expected to adhere to the [W3C Code of Ethics and Professional Conduct](https://www.w3.org/Consortium/cepc/).
Expand Down
105 changes: 105 additions & 0 deletions build/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading