Skip to content

bug fixes

bug fixes #6

Workflow file for this run

name: cicd
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
max-parallel: 1
matrix:
python-version: [3.9]
steps:
- name: Checkout source
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python do.py setup
python do.py init
- name: Build distribution
run: |
python do.py dist
- name: Archive generated artifacts
uses: actions/upload-artifact@v2
with:
name: generated-artifacts
path: |
dist
snappi_cyperf
python_tests:
needs: build
runs-on: ubuntu-20.04
strategy:
max-parallel: 6
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- name: Checkout source
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/download-artifact@v2
with:
name: generated-artifacts
- name: Install dependencies
run: |
python do.py setup
python do.py install
- name: Display structure of downloaded files
run: ls -R
#- name: Run python tests
# run: |
# sudo python do.py test