Bump urllib3 from 2.2.1 to 2.2.2 in /plugins/src #1648
This file contains 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: Run Playwright Integration Tests | |
on: | |
pull_request: | |
# only runs on PRs that target main | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
playwright: | |
name: RunPlaywrightTests | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
working-directory: e2e | |
run: npm ci | |
- name: Docker build | |
run: docker compose -f docker-compose-e2e.yml build | |
env: | |
MONGO_USERNAME: mongoadmin | |
MONGO_PASSWORD: secret | |
- name: Docker up | |
run: docker compose -f docker-compose-e2e.yml up & | |
env: | |
IN_MEMORY_DB: '0' | |
IQENGINE_FEATURE_FLAGS: '{}' | |
IQENGINE_CONNECTION_INFO: '{"settings": [{"name": "GNU Radio SigMF Repo","containerName": "iqengine","accountName": "gnuradio","sasToken": "","description": "A collection of example SigMF recordings hosted by the GNU Radio project (contact Marc to have your recordings added)","imageURL": "https://gnuradio.blob.core.windows.net/iqengine/cellular_downlink_880MHz.jpeg"}]}' | |
MONGO_USERNAME: mongoadmin | |
MONGO_PASSWORD: secret | |
- name: Check build has succeeded | |
uses: cygnetdigital/wait_for_response@510ed9823ee9c5f876e57d25bd87c575032d8156 # v2.0.0 | |
with: | |
url: 'http://localhost:3000/' | |
responseCode: '200,500' | |
timeout: 30000 | |
interval: 500 | |
- name: Install Playwright Browsers | |
working-directory: e2e | |
run: npx playwright install --with-deps | |
- name: Run Playwright tests | |
working-directory: e2e | |
run: | | |
npx playwright test --config playwright-pr.config.ts --grep @CICompatible | |
env: | |
IQENGINE_METADATA_DB_CONNECTION_STRING: mongodb://mongoadmin:secret@localhost:27017/admin | |
- name: Docker down | |
run: docker compose -f docker-compose-e2e.yml down |