Skip to content

Commit 8a9df33

Browse files
authored
Fix Python version matrix in GitHub Actions (#266)
1 parent 379d9c2 commit 8a9df33

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v3
1717

18-
- name: Set up Python 3.6
18+
- name: Set up Python 3.7
1919
uses: actions/setup-python@v3
2020
with:
21-
python-version: 3.7
21+
python-version: "3.7"
2222

2323
- name: Install dependencies
2424
run: |
@@ -40,15 +40,15 @@ jobs:
4040
fail-fast: false
4141
max-parallel: 5
4242
matrix:
43-
python-version: [3.7, 3.8, 3.9, 3.10, 3.11]
43+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
4444

4545
steps:
4646
- uses: actions/checkout@v3
4747

4848
- name: Set up Python ${{ matrix.python-version }}
4949
uses: actions/setup-python@v3
5050
with:
51-
python-version: ${{ matrix.python_version }}
51+
python-version: ${{ matrix.python-version }}
5252

5353
- name: Install dependencies
5454
run: |
@@ -61,7 +61,7 @@ jobs:
6161
pytest --cov=impedance .
6262
6363
- name: Upload coverage to coveralls
64-
if: matrix.python-version == 3.7 && github.repository == 'ECSHackWeek/impedance.py'
64+
if: matrix.python-version == 3.10 && github.repository == 'ECSHackWeek/impedance.py'
6565
run: coveralls --service=github
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)