-
Notifications
You must be signed in to change notification settings - Fork 27
42 lines (42 loc) · 1.15 KB
/
apigw-manager.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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