From fbee1d90dc65279dff3c4774c6056265349fa1c6 Mon Sep 17 00:00:00 2001 From: Cedric Date: Thu, 30 May 2024 23:09:02 +0800 Subject: [PATCH] test --- .github/workflows/accesibility.yml | 12 +++++------- app/templates/test.html | 0 2 files changed, 5 insertions(+), 7 deletions(-) create mode 100644 app/templates/test.html diff --git a/.github/workflows/accesibility.yml b/.github/workflows/accesibility.yml index 43d24a3..4eb56fe 100644 --- a/.github/workflows/accesibility.yml +++ b/.github/workflows/accesibility.yml @@ -2,9 +2,9 @@ name: Accessibility on: push: - branches: [ "main" ] + branches: ["**"] pull_request: - branches: [ "main" ] + branches: ["main"] workflow_dispatch: permissions: @@ -26,7 +26,7 @@ jobs: python -m pip install --upgrade pip pip install flask pip install -r requirements.txt - + # Set up Node.js - name: Set up Node.js uses: actions/setup-node@v2 @@ -40,11 +40,9 @@ jobs: run: | export FLASK_APP=app.py flask run -h localhost -p 5000 & - + # Run accessibility-checker - name: Run accessibility-checker run: | sleep 10 - achecker http://localhost:5000 - achecker http://localhost:5000/upload - achecker http://localhost:5000/settings + achecker http://localhost:5000/test diff --git a/app/templates/test.html b/app/templates/test.html new file mode 100644 index 0000000..e69de29