Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE - simple GUI test case #2

Closed
wants to merge 35 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
984a7a4
Switch to pytest (previously used unittest)
GenevieveBuckley Sep 27, 2023
ed1bb00
Testing CI, remove pytest-qt for now
GenevieveBuckley Sep 27, 2023
adc161a
Is micromamba faster for CI than miniconda
GenevieveBuckley Sep 27, 2023
1cbd132
Update test.yaml (more minimal micromamba setup config)
GenevieveBuckley Sep 27, 2023
59a8c4f
Update environment_cpu.yaml (put name at top for micromamba CI install)
GenevieveBuckley Sep 27, 2023
3cfc777
Update environment_gpu.yaml (put name up top to avoid micromamba CI s…
GenevieveBuckley Sep 27, 2023
55a7813
Fix filename pointing to environment_cpu.yaml
GenevieveBuckley Sep 27, 2023
246f642
Generate code coverage report for CI tests
GenevieveBuckley Sep 27, 2023
6045f6a
Update test.yaml (install pytest-cov for code coverage reports)
GenevieveBuckley Sep 27, 2023
fee3c6f
Fix code coverage call in CI
GenevieveBuckley Sep 27, 2023
f86fcf8
Update pyproject.toml to include pytest-cov default arguments
GenevieveBuckley Sep 27, 2023
1fea5c9
Update test.yaml (pytest-cov default arguments now in pyproject.toml …
GenevieveBuckley Sep 27, 2023
b0b57e5
Update pyproject.toml (wrap pytest adopts args in quote string)
GenevieveBuckley Sep 27, 2023
dbbc441
Update pyproject.toml (rename code coverage output file)
GenevieveBuckley Sep 27, 2023
682f1e5
Update test.yaml (try experimental codecov@v4 github action)
GenevieveBuckley Sep 27, 2023
8b50d4f
Update test.yaml (explicitly specify location of coverage.xml file)
GenevieveBuckley Sep 27, 2023
0cf6803
Update test.yaml (reduce duplicate CI runs)
GenevieveBuckley Sep 27, 2023
f943015
Update pyproject.toml (fix TOML formatting)
GenevieveBuckley Sep 27, 2023
cda309f
Update test.yaml - more verbose output for debugging
GenevieveBuckley Oct 4, 2023
22d0064
Update pyproject.toml - fix pytest configuration
GenevieveBuckley Oct 4, 2023
f5d34d4
Update test.yaml - less verbose output in github actions
GenevieveBuckley Oct 4, 2023
fa08a7e
Update test.yaml - use latest github checkout action
GenevieveBuckley Oct 4, 2023
79b0605
Update pyproject.toml - update pytest config for more info printed to…
GenevieveBuckley Oct 4, 2023
0b1820b
Update .gitignore - do not commit code coverage reports
GenevieveBuckley Oct 4, 2023
8e6c2fc
Update .gitignore - ignore generated code coverage files
GenevieveBuckley Oct 4, 2023
36d4c42
Setup Qt libraries for github actions workflows
GenevieveBuckley Oct 4, 2023
8b9e89c
Code elsewhere still expects image layer to be named 'raw'
GenevieveBuckley Oct 4, 2023
19c34a6
Add basic GUI test opening of 2D annotator dock widgets
GenevieveBuckley Oct 4, 2023
37c3bb6
Black formatting new test_gui.py file
GenevieveBuckley Oct 4, 2023
09f566a
Formatting line lengths
GenevieveBuckley Oct 4, 2023
b2f7702
Install pyqt dependency in test workflow
GenevieveBuckley Oct 4, 2023
ab62c95
Update name of step in github actions workflow for improved readability
GenevieveBuckley Oct 4, 2023
bbdbd82
Move additional python package installs into same step as env creation
GenevieveBuckley Oct 4, 2023
2c4ea9f
Fix import error, from typing import Tuble
GenevieveBuckley Oct 4, 2023
58aeaa7
pytest-qt dependency required for testing
GenevieveBuckley Oct 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update name of step in github actions workflow for improved readability
GenevieveBuckley committed Oct 4, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit ab62c957608a3ac46dce5665dc4e294af364bc6a
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ jobs:
shell: bash -l {0}
run: mamba install pytest pytest-cov --yes

- name: Install package
- name: Install micro-sam package
shell: bash -l {0}
run: pip install --no-deps -e .