Skip to content

Commit

Permalink
Add test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
CYX22222003 committed Feb 8, 2025
1 parent e1eb0af commit 19d81bb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: test

on:
pull_request:


jobs:
deploy:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: pip install requests
- name: Generate report
run: |
export VITE_BASE_DIR="/$(basename $GITHUB_REPOSITORY)/"
echo "VITE_BASE_DIR: $VITE_BASE_DIR"
./run.sh
- name: Predeployment test
run: bash ./test.sh

0 comments on commit 19d81bb

Please sign in to comment.