Skip to content

Commit

Permalink
Update dependabot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remitocat committed Dec 24, 2021
1 parent f1b4336 commit ebec80d
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 1 deletion.
65 changes: 65 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: E2E Test

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
python-version: [3.9]

services:
postgres:
image: postgres:10-alpine
ports:
- 5432:5432
env:
POSTGRES_DB: test-misskey
POSTGRES_HOST_AUTH_METHOD: trust

redis:
image: redis:alpine
ports:
- 6379:6379

steps:
- uses: actions/checkout@v2
with:
submodules: true

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- run: yarn install --prefer-offline
- run: yarn build
- run: cp e2e/e2e.yml .config/default.yml
- run: yarn migrateandstart &

- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Run pip install
run: pip install -r requirements.txt
working-directory: ./e2e

- name: Setup playwright
run: python -m playwright install
working-directory: ./e2e

- name: Run E2E Test
run: pytest run.py
working-directory: ./e2e

- name: Upload E2E ScreenShots
uses: actions/upload-artifact@v2
with:
name: ScreenShots-${{ matrix.node-version }}
path: e2e/ScreenShots
5 changes: 4 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "misskey-assets"]
path = misskey-assets
url = https://github.com/misskey-dev/assets.git
url = https://github.com/misskey-dev/assets.git
[submodule "e2e"]
path = e2e
url = https://github.com/sakura-tel/milkey-e2e
1 change: 1 addition & 0 deletions e2e
Submodule e2e added at 222a82

0 comments on commit ebec80d

Please sign in to comment.