Skip to content

Added test case dependencies. #68

Added test case dependencies.

Added test case dependencies. #68

Workflow file for this run

name: CI
on:
push:
branches:
- "main"
- "develop"
pull_request:
branches: [main, develop]
jobs:
build:
name: build
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: "1.6.1"
- name: Build
run: |
poetry install
poetry build
- name: Test
run: |
poetry run mibdump NET-SNMP-EXAMPLES-MIB
poetry run pytest
- uses: actions/upload-artifact@v2.2.4
with:
name: dist
path: dist
- uses: actions/upload-artifact@v2.2.4
with:
name: output
path: output