From 17114928e3fffbbe0eb1db19fe49830f450cc7ba Mon Sep 17 00:00:00 2001 From: sinkaroid Date: Tue, 18 Apr 2023 13:03:01 +0700 Subject: [PATCH] ci: add separate testing cases for each site --- .github/workflows/redtube.yml | 30 ++++++++++++++++++++++++++++++ .github/workflows/xhamster.yml | 30 ++++++++++++++++++++++++++++++ .github/workflows/xnxx.yml | 30 ++++++++++++++++++++++++++++++ .github/workflows/xvideos.yml | 30 ++++++++++++++++++++++++++++++ .github/workflows/youporn.yml | 30 ++++++++++++++++++++++++++++++ 5 files changed, 150 insertions(+) create mode 100644 .github/workflows/redtube.yml create mode 100644 .github/workflows/xhamster.yml create mode 100644 .github/workflows/xnxx.yml create mode 100644 .github/workflows/xvideos.yml create mode 100644 .github/workflows/youporn.yml diff --git a/.github/workflows/redtube.yml b/.github/workflows/redtube.yml new file mode 100644 index 0000000..6a8fc1f --- /dev/null +++ b/.github/workflows/redtube.yml @@ -0,0 +1,30 @@ +name: Redtube test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm install + - name: Build + run: npm run build + + - name: Redtube test + run: npm run test:redtube \ No newline at end of file diff --git a/.github/workflows/xhamster.yml b/.github/workflows/xhamster.yml new file mode 100644 index 0000000..ee060a4 --- /dev/null +++ b/.github/workflows/xhamster.yml @@ -0,0 +1,30 @@ +name: Xhamster test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm install + - name: Build + run: npm run build + + - name: Xhamster test + run: npm run test:xhamster \ No newline at end of file diff --git a/.github/workflows/xnxx.yml b/.github/workflows/xnxx.yml new file mode 100644 index 0000000..cd94b5c --- /dev/null +++ b/.github/workflows/xnxx.yml @@ -0,0 +1,30 @@ +name: Xnxx test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm install + - name: Build + run: npm run build + + - name: Xnxx test + run: npm run test:xnxx \ No newline at end of file diff --git a/.github/workflows/xvideos.yml b/.github/workflows/xvideos.yml new file mode 100644 index 0000000..ab04c80 --- /dev/null +++ b/.github/workflows/xvideos.yml @@ -0,0 +1,30 @@ +name: Xvideos test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm install + - name: Build + run: npm run build + + - name: Xvideos test + run: npm run test:xvideos \ No newline at end of file diff --git a/.github/workflows/youporn.yml b/.github/workflows/youporn.yml new file mode 100644 index 0000000..ed6708d --- /dev/null +++ b/.github/workflows/youporn.yml @@ -0,0 +1,30 @@ +name: Youporn test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm install + - name: Build + run: npm run build + + - name: Youporn test + run: npm run test:youporn \ No newline at end of file