Skip to content

Commit

Permalink
Poetry setup (#419)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
kylebarron and mcaceresb authored Apr 7, 2022
1 parent 1ca2a65 commit b7cd972
Show file tree
Hide file tree
Showing 8 changed files with 1,517 additions and 96 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Set up Poetry
uses: snok/install-poetry@v1

- name: Install dependencies
run: |
pip install -r requirements.txt -r requirements_dev.txt
python -m stata_kernel.install
poetry install
poetry run python -m stata_kernel.install
- name: Run tests
# TODO: We should be running other tests and not just these two files
run: |
python -m pytest tests/test_mata_lexer.py tests/test_stata_lexer.py
python setup.py install
poetry run pytest tests/test_mata_lexer.py tests/test_stata_lexer.py
Loading

0 comments on commit b7cd972

Please sign in to comment.