Skip to content

Add osc-cli tests

Add osc-cli tests #7

Workflow file for this run

name: tests
on:
pull_request:
branches: [ ci-tests ]
push:
branches: [ ci-tests ]
permissions:
pull-requests: write
contents: write
jobs:
oapi-cli-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: install dependancies
run: |
sudo apt-get update --fix-missing
sudo apt-get install -y -f -o Acquire::Retries=3 jq libjson-c-dev libcurl4-openssl-dev pkg-config cargo
- name: oapi-cli local tests
run: ./scripts/oapi-cli-tests.sh
osc-cli-tests:
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.version }}
- name: Install dependencies
run: make .venv/ok
- name: osc-cli local tests
run: ./scripts/osc-cli-tests.sh