Skip to content

add examples

add examples #207

Workflow file for this run

on:
push:
branches:
- master
paths:
- "sdks/apigw-manager/**"
pull_request:
branches:
- master
paths:
- "sdks/apigw-manager/**"
name: apigw-manager
jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7]
os: [ubuntu-18.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.1.15
- name: Install dependencies
working-directory: sdks/apigw-manager
run: |
poetry export -f requirements.txt --without-hashes -E demo --dev --output requirements.txt
python -m pip install --upgrade pip
python -m pip install . 'tox-gh-actions==2.12.0' -r requirements.txt
- name: Test with tox
working-directory: sdks/apigw-manager
run: tox