Skip to content

Commit

Permalink
select version index
Browse files Browse the repository at this point in the history
  • Loading branch information
n-wbrown committed Nov 20, 2023
1 parent 05916e1 commit f2c8c49
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/cookiecutter-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@ jobs:
matrix:
config_file: [ default_config.yaml, complex_config.yaml]
python_version: [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- python_version: "3.6"
python_version_index: "6"
- python_version: "3.7"
python_version_index: "5"
- python_version: "3.8"
python_version_index: "4"
- python_version: "3.9"
python_version_index: "3"
- python_version: "3.10"
python_version_index: "2"
- python_version: "3.10"
python_version_index: "2"
- python_version: "3.11"
python_version_index: "1"


steps:
Expand Down Expand Up @@ -72,7 +87,7 @@ jobs:
- name: Append version to config
run: |
echo ' python_version: "${{ matrix.python_version }}" ' >> tests/${{ matrix.config_file }}
echo ' python_version: "${{ matrix.python_version_index }}" ' >> tests/${{ matrix.config_file }}
cat tests/${{ matrix.config_file }}
- name: Use the cookiecutter
Expand Down

0 comments on commit f2c8c49

Please sign in to comment.