test: Change Event.additionalDetails
field assertion in events test (box/box-codegen#858)
#485
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration tests boxsdk | |
on: | |
pull_request: | |
branches: | |
- combined-sdk | |
jobs: | |
tests: | |
name: Integration tests | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 1 | |
matrix: | |
python-version: | |
- '3.8' | |
- '3.12' | |
- '3.13' | |
container: | |
image: python:${{ matrix.python-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -e ".[dev]" | |
- name: All Tests | |
if: startsWith(github.head_ref, 'codegen-release') | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
JWT_CONFIG_BASE_64: ${{ secrets.JWT_CONFIG_BASE_64 }} | |
ADMIN_USER_ID: ${{ secrets.ADMIN_USER_ID }} | |
run: | | |
tox -e integration-tests | |
- name: Smoke Tests | |
if: "!startsWith(github.head_ref, 'codegen-release')" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
JWT_CONFIG_BASE_64: ${{ secrets.JWT_CONFIG_BASE_64 }} | |
ADMIN_USER_ID: ${{ secrets.ADMIN_USER_ID }} | |
run: | | |
tox -e smoke-tests |