Skip to content

feat: add real API integration tests for users #6

feat: add real API integration tests for users

feat: add real API integration tests for users #6

name: integration-tests
on:
pull_request:
types: [opened, synchronize]
branches:
- main
push:
branches:
- main
jobs:
integration-test:
runs-on: ubuntu-latest
name: Integration Tests
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '20'
- name: npm install
run: npm install
- name: Run Integration Tests
env:
BOX_JWT_CONFIG: ${{ secrets.BOX_JWT_CONFIG }}
BOX_ADMIN_USER_ID: ${{ secrets.BOX_ADMIN_USER_ID }}
run: npm run test:integration || true # Allow integration tests to fail until secrets are configured