Bumped the version. #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |