File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 6767 python -m pip install -U ".[test]"
6868 python -m pip list
6969 python -m pip check
70+
7071 - name : Run tests
7172 run : |
7273 pytest -v
@@ -77,18 +78,26 @@ jobs:
7778 python -m build
7879 ls -1 dist
7980
80- - name : Test installation from a wheel (POSIX)
81- if : ${{ matrix.os != 'windows-latest' }}
81+ - name : Create virtual environment for testing installation from the wheel
8282 run : |
8383 python -m venv test-wheel-env
84+
85+ - name : Activate virtual environment for testing installation from the wheel (POSIX)
86+ if : ${{ matrix.os != 'windows-latest' }}
87+ run : |
8488 source test-wheel-env/bin/activate
85- python -m pip install dist/*-none-any.whl
86- python -c "import ndx_franklab_novela"
8789
88- - name : Test installation from a wheel (windows )
90+ - name : Activate virtual environment for testing installation from the wheel (Windows )
8991 if : ${{ matrix.os == 'windows-latest' }}
9092 run : |
91- python -m venv test-wheel-env
9293 source test-wheel-env/Scripts/activate
94+
95+ - name : Install the package from the wheel and check import
96+ run : |
9397 python -m pip install dist/*-none-any.whl
9498 python -c "import ndx_franklab_novela"
99+
100+ - name : Run tests in the virtual environment
101+ run : |
102+ python -m pip install pytest
103+ pytest -v
You can’t perform that action at this time.
0 commit comments