Commit 0c2baefe authored by Grant's avatar Grant
Browse files

pptr args

parent 1733c655
Loading
Loading
Loading
Loading
Loading
+7 −14
Original line number Diff line number Diff line
@@ -22,22 +22,15 @@
    SESSION_SECRET: test
    TEST_FEDERATION_MODE: KEYRING
    PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium-browser
    TESTKIT_PUPPETEER_ARGS: --no-sandbox
  before_script:
    - apk add --no-cache sudo
    - chown -R node .
    - |
      sudo -u node sh << EOF
      corepack enable && corepack prepare
      yarn
      npx -w backend prisma migrate deploy
      npx -w backend prisma generate
      EOF
    - sudo -i -u node sh << EOF
    - corepack enable && corepack prepare
    - yarn
    - npx -w backend prisma migrate deploy
    - npx -w backend prisma generate
  script:
    - |
      sudo -u node sh << EOF
      whoami
      yarn workspace @fediverse-auth/backend run test
      EOF
    - yarn workspace @fediverse-auth/backend run test

mr test federation:
  when: manual