Skip to content

CI: Add tests from oapi-cli, osc-sdk-c and osc-cli #13

CI: Add tests from oapi-cli, osc-sdk-c and osc-cli

CI: Add tests from oapi-cli, osc-sdk-c and osc-cli #13

Workflow file for this run

name: tests
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
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: osc-cli local tests
run: ./scripts/osc-cli-tests.sh
osc-sdk-c-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- 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 libjsoncpp-dev
- name: osc-sdk-c local tests
run: ./scripts/osc-sdk-c-tests.sh