Skip to content

Commit

Permalink
chore: parse supported_python_versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankanno committed Jun 7, 2024
1 parent 232fe1a commit a572dab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion {{cookiecutter.package_name}}/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ {{ cookiecutter.supported_python_versions }} ]
python-version:
{%- for python_version in cookiecutter.supported_python_versions.split(',') %}
- "{{ python_version }}"
{%- endfor %}
os: [ubuntu-latest]
runs-on: {% raw %}${{ matrix.os }}{% endraw %}
steps:
Expand Down

0 comments on commit a572dab

Please sign in to comment.