Deleted old archive link. #80
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/[email protected] | |
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/[email protected] | |
with: | |
name: dist | |
path: dist | |
- uses: actions/[email protected] | |
with: | |
name: output | |
path: output |