Skip to content

Poetry #293

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

Merged
merged 11 commits into from
Jul 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions .github/workflows/libtmux-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
python-version: [ '3.x' ]
tmux-version: [ '2.6', '2.7', '2.8', 'master' ]
tmux-version: [ '2.6', '2.7', '2.8', '3.0', 'master' ]
steps:
- uses: actions/checkout@v1
- name: Cache tmux build ${{ matrix.tmux-version }}
Expand Down Expand Up @@ -43,18 +43,18 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install python dependencies
run: |
python -m pip install --upgrade pip pipenv setuptools
pipenv install -d --system --skip-lock
python -m pip install --upgrade poetry
poetry install
- name: Lint with flake8
run: |
pipenv run flake8
poetry run flake8
- name: Test with pytest
continue-on-error: ${{ matrix.tmux-version == 'master' }}
run: |
export PATH=$HOME/tmux-builds/tmux-${{ matrix.tmux-version }}/bin:$PATH
ls $HOME/tmux-builds/tmux-${{ matrix.tmux-version }}/bin
tmux -V
pipenv run py.test --cov=./ --cov-report=xml
poetry run py.test --cov=./ --cov-report=xml
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 3 additions & 0 deletions .tmuxp-before-script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
poetry shell --no-ansi --no-interaction &2> /dev/null
poetry install --no-ansi --no-interaction &2> /dev/null
6 changes: 3 additions & 3 deletions .tmuxp.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
session_name: libtmux
start_directory: ./ # load session relative to config location (project root).
before_script: pipenv install --dev --skip-lock
shell_command_before:
- '[ -d `pipenv --venv` ] && source `pipenv --venv`/bin/activate && reset'
before_script: ./.tmuxp-before-script.sh
shell_command_before:
- '[ -f .venv/bin/activate ] && source .venv/bin/activate && reset'
windows:
- window_name: libtmux
focus: True
Expand Down
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Changelog
Here you can find the recent changes to libtmux

- Add ``project_urls`` to setup.py
- :issue:`293` Move from Pipfile to poetry
- Fix show_option test in tmux 3.0
- Clean up handle_option_error comments

0.8.2 <2019-06-02>
------------------
Expand Down
22 changes: 0 additions & 22 deletions Pipfile

This file was deleted.

Loading