Skip to content

Commit

Permalink
Add changeguard.
Browse files Browse the repository at this point in the history
* Had to make all the README outputs reproducible.
  • Loading branch information
realazthat committed Apr 24, 2024
1 parent 6f9b6c9 commit eea6737
Show file tree
Hide file tree
Showing 19 changed files with 1,080 additions and 654 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,21 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: 3.8.0
- name: Install Bash (Ubuntu)
run: sudo apt-get update && sudo apt-get install -y bash grep xxd git xxhash rsync
- name: Install Bash and other dependencies (Ubuntu)
# * bash: scripts.
# * xxd: tests.
# * git: scripts, tests.
# * xxhash: changeguard.
# * rsync: out-of-directory test.
# * grep: tests.
# * expect: for `unbuffer`, useful to grab and compare ansi color symbols.
run: sudo apt-get update && sudo apt-get install -y bash grep xxd git xxhash rsync expect
# - name: Install nvm
# run: |
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- name: Run everything
run: |
npm install
npx playwright install-deps
npx playwright install
npx playwright install firefox
bash scripts/pre.sh
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NOTES.md
jsconfig.json
.cache/
node_modules/
.cache
node_modules
screenshots/
.deleteme/
*.egg-info/
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ repos:
- id: name-tests-test
- id: requirements-txt-fixer
- id: trailing-whitespace
exclude: ^.*\.(svg|log)$
- id: check-byte-order-marker
- repo: https://github.com/jlebar/pre-commit-hooks
rev: f2d115a052860b09b2888b4f104be614bf3b4779
Expand Down
21 changes: 21 additions & 0 deletions README.example.output.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
292 changes: 292 additions & 0 deletions README.example.terminal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit eea6737

Please sign in to comment.