Skip to content

Commit 2874bea

Browse files
Update pythonpackage.yml
1 parent 33f7010 commit 2874bea

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ jobs:
88
strategy:
99
max-parallel: 4
1010
matrix:
11-
python-version: [3.7]
11+
python-version: [3.10 , 3.11] #Using [3.10, 3.11] to test multiple versions
1212

1313
steps:
14-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v3
1515

1616
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v1
17+
uses: actions/setup-python@v4
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020

2121
- name: Install dependencies
2222
run: |
2323
sudo apt-get install libgit2-dev -y
2424
python -m pip install --upgrade pip
25-
pip install -r requirements.txt # Ensure pytest is included in requirements.txt
25+
pip install -r requirements.txt
2626
2727
- name: Lint with flake8
2828
run: |
@@ -32,5 +32,5 @@ jobs:
3232
3333
- name: Test with pytest
3434
run: |
35-
pip install pytest # This can be omitted if pytest is in requirements.txt
36-
pytest -v # Run pytest with verbose output
35+
pip install pytest
36+
pytest -v

0 commit comments

Comments
 (0)