Skip to content

Commit

Permalink
update: fix python version 3.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
h0anle committed Sep 26, 2024
1 parent 75421b9 commit 36a00c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.12.1"]

steps:
- name: Checkout code
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install PySide6==6.7.2 pytest fitspy==2024.5 openpyxl==3.1.5 pandas==2.2.3 matplotlib==3.8.4 seaborn==0.13.2 markdown==3.7 lmfit superqt pytest-qt
python -m pip install PySide6==6.7.2 pytest fitspy==2024.5 openpyxl==3.1.5 pandas==2.2.3 matplotlib==3.8.4 seaborn==0.13.2 markdown==3.7 lmfit superqt==0.6.7 pytest-qt==4.4.0
- name: Installed packages
run: |
Expand Down
3 changes: 3 additions & 0 deletions tests/test_1_reading_all_supported_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@

@pytest.fixture(scope="module", autouse=True)
def app(qtbot):
# This is how you create a QApplication instance for testing
app = QApplication([])

# Ensure QApplication is quit after tests
yield app
app.quit()

Expand Down

0 comments on commit 36a00c4

Please sign in to comment.