From 0113636938a1035e24b25111904e534e5fa4da41 Mon Sep 17 00:00:00 2001 From: Fabiana Campanari Date: Wed, 26 Jun 2024 05:40:20 -0300 Subject: [PATCH] python-app.yml Signed-off-by: Fabiana Campanari --- python-app.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 python-app.yml diff --git a/python-app.yml b/python-app.yml new file mode 100644 index 0000000..1e10ad1 --- /dev/null +++ b/python-app.yml @@ -0,0 +1,23 @@ +# Using multiple Python versions with matrix. + +name: Python package + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"] + + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + # You can test your matrix by printing the current Python version + - name: Display Python version + run: python -c "import sys; print(sys.version)"