From 0579bc96ceac87dd70e4276b3c4f834107f8cae9 Mon Sep 17 00:00:00 2001 From: John Anderson Date: Mon, 23 May 2022 16:19:08 -0400 Subject: [PATCH] Add ability to test against the support python runtimes --- .github/workflows/test-on-push-and-pr.yml | 6 +++++- README.md | 5 +++-- tox.ini | 6 ++++++ 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 tox.ini diff --git a/.github/workflows/test-on-push-and-pr.yml b/.github/workflows/test-on-push-and-pr.yml index fe17cda..acc63d6 100644 --- a/.github/workflows/test-on-push-and-pr.yml +++ b/.github/workflows/test-on-push-and-pr.yml @@ -9,6 +9,9 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ] steps: - uses: actions/checkout@v2 @@ -17,6 +20,7 @@ jobs: - name: Set up python uses: actions/setup-python@v2 with: - python-version: '3.8' + python-version: ${{ matrix.python-version }} + - name: Run 'pr' target run: make pr diff --git a/README.md b/README.md index 1a71488..f6c602c 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ You can include this package in your preferred base image to make that base imag ## Requirements The Python Runtime Interface Client package currently supports Python versions: - - 3.6.x up to and including 3.9.x + - 3.6.x up to and including 3.10.x ## Usage @@ -175,4 +175,5 @@ If you discover a potential security issue in this project we ask that you notif ## License -This project is licensed under the Apache-2.0 License. \ No newline at end of file +This project is licensed under the Apache-2.0 License. + diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..62275a1 --- /dev/null +++ b/tox.ini @@ -0,0 +1,6 @@ +[tox] +envlist = python3.6,python3.7,python3.8,python3.9,python3.10 + +[testenv] +commands = + make pr