Require python 3.9, plus a bunch of cleanup #35
Workflow file for this run
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: BTest | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
Run-BTest: | |
strategy: | |
matrix: | |
python-version: | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
- "3.13" | |
os: [macos-latest, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set up git config | |
# Set autocrlf mode to false so that actions/checkout doesn't | |
# modify the line endings in all of the files (mostly in the | |
# test Baselines) to be \r\n on Windows. | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install btest | |
- name: Install pysubnettree | |
run: | | |
python -m pip install --verbose -e . | |
- run: | | |
make test BTEST=`which btest` |