diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b4f043f..ed7c2fb 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -5,9 +5,19 @@ on: [push] jobs: deploy: runs-on: "homesrv01" + strategy: + matrix: + python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"] + steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - 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)" # with: # python-version: '3.12.4' # Version range or exact version of a Python version to use, using SemVer's version range syntax #architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified