consolidate demo plugins to common package

This commit is contained in:
MinchinWeb 2021-05-08 11:17:46 -06:00
parent 09d652899a
commit b8f0e6a35f
5 changed files with 100 additions and 4 deletions

View file

@ -32,6 +32,11 @@ jobs:
python-version: 3.9
steps:
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
@ -49,9 +54,9 @@ jobs:
run: |
pip install poetry
poetry config --local virtualenvs.in-project true
poetry add git+https://github.com/MinchinWeb/jrnl-rot13-exporter.git
poetry install --remove-untracked
poetry install
poetry install
poetry run python -m pip install -e "git+${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git@{{ steps.extract_branch.outputs.branch }}#egg=jrnl-demo-plugins&subdirectory=tests/external_plugins_src"
- name: Test with pytest
if: success() || failure()