diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 17:45:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 17:45:09 +0000 |
commit | da1a8f12d7a38f67f3f464aaaffa851f929ae4ea (patch) | |
tree | 677688f3aeab7f324f266d106770165708522c2c /.github | |
parent | Initial commit. (diff) | |
download | python-netaddr-da1a8f12d7a38f67f3f464aaaffa851f929ae4ea.tar.xz python-netaddr-da1a8f12d7a38f67f3f464aaaffa851f929ae4ea.zip |
Adding upstream version 0.10.1.upstream/0.10.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7e8cbf3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,35 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + # Not all Python versions are available in the latest Ubuntu environments + # so pin this to 20.04. + os: [ubuntu-20.04, macos-latest, windows-latest] + python-version: [ + 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", 3.11, + pypy2.7, pypy3.7, pypy3.8, pypy3.9, pypy3.10, + ] + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + pip install --upgrade -r requirements.txt + pip install . + - name: Run tests + run: | + make ci + - name: Report coverage to Codecov + uses: codecov/codecov-action@v1 |