Skip to content
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
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
- name: Install deps
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --all-extras
pip install flake8 pytest pytest-cov
pip install .[all]

- name: Run lint
run: |
poetry run flake8 pubweb
flake8 pubweb

- name: Run Tests
working-directory: tests
run: |
poetry run pytest --cov --cov-report=xml --cov-branch -o junit_family=xunit2 --junitxml=junit/test-results.xml
pytest --cov --cov-report=xml --cov-branch -o junit_family=xunit2 --junitxml=junit/test-results.xml
8 changes: 4 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ jobs:
- name: Install deps
run: |
python -m pip install --upgrade pip
pip install poetry
pip install wheel

- name: Test install
run: |
poetry install --all-extras
poetry run pubweb-cli
python setup.py install
pubweb-cli

- name: Build python package
run: |
poetry build
python setup.py bdist_wheel

- name: Publish package
if: github.event_name == 'release'
Expand Down
Loading