Skip to content

Add workflow to run CLI E2E tests on PRs and Pushes to dev branch #927

Add workflow to run CLI E2E tests on PRs and Pushes to dev branch

Add workflow to run CLI E2E tests on PRs and Pushes to dev branch #927

Workflow file for this run

name: Python package
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-pip-${{ hashFiles('./ci/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install openapi3
- name: openapi linter
run: |
python -m openapi3 openapi.json