diff options
author | Jakub Stasiak <jakub@stasiak.at> | 2020-06-14 17:29:24 +0200 |
---|---|---|
committer | Jakub Stasiak <jakub@stasiak.at> | 2020-06-14 17:29:24 +0200 |
commit | 98c128b9b25baeedc276b65f707808aba53aa608 (patch) | |
tree | 9c6150ad488f482a2c827604e1d677553199ea47 | |
parent | 214cc2ee29dc6f22865d4eebf2597aa34bbf3795 (diff) | |
download | netaddr-98c128b9b25baeedc276b65f707808aba53aa608.tar.gz |
Set up GitHub Actions CI
-rw-r--r-- | .github/workflows/ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..be00d3b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy2, pypy3] + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + pip install --upgrade -r requirements.txt + - name: Run tests + run: | + make test_with_junitxml |