Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
name: RadBee-Sandbox Test

on: 
  workflow_dispatch:
    inputs:
      snapshots_web_request_url:
        description: 'Snapshots web request url'
        required: true
        type: string
      snapshots_apikey:
        description: 'Snapshots api key'
        required: true
        type: string

permissions:
    contents: read

env:
  PYTHON_VERSION: '3.11'
  SNAPSHOTS_WEB_REQUEST_URL: ${{ inputs.snapshots_web_request_url }}
  SNAPSHOTS_APIKEY: ${{ inputs.snapshots_apikey }}

jobs:
  build:
      runs-on: macos-latest
      steps:
      - uses: actions/checkout@v3
      - name: Set up Python ${{ env.PYTHON_VERSION }}
        uses: actions/setup-python@v4
        with:
          python-version: ${{ env.PYTHON_VERSION }}
      - name: Install dependencies
        run: |
          pip install requests
          python -m pip install --upgrade pip
          python tests/take_snapshot.py

...