Skip to content

Commit b7cd972

Browse files
Poetry setup (#419)
* Manually bumped to 1.12.3 * Bump version: 1.12.3 → 1.13.0 * Poetry setup * Commit new lockfile * Updated bumpversion config * Added e-mail * update ci * update test script * reformat Co-authored-by: Mauricio Caceres <[email protected]>
1 parent 1ca2a65 commit b7cd972

File tree

8 files changed

+1517
-96
lines changed

8 files changed

+1517
-96
lines changed

.github/workflows/test.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ jobs:
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

27+
- name: Set up Poetry
28+
uses: snok/install-poetry@v1
29+
2730
- name: Install dependencies
2831
run: |
29-
pip install -r requirements.txt -r requirements_dev.txt
30-
python -m stata_kernel.install
32+
poetry install
33+
poetry run python -m stata_kernel.install
3134
3235
- name: Run tests
3336
# TODO: We should be running other tests and not just these two files
3437
run: |
35-
python -m pytest tests/test_mata_lexer.py tests/test_stata_lexer.py
36-
python setup.py install
38+
poetry run pytest tests/test_mata_lexer.py tests/test_stata_lexer.py

0 commit comments

Comments
 (0)