Skip to content
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

Remove CI workaround for console plugin #289

Merged
merged 2 commits into from
Apr 10, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,12 @@ jobs:
needs: lint
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
strategy:
matrix:
py_ver: [3.7, 3.8]
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.py_ver }}
python-version: 3.8
- name: Use Python Dependency Cache
uses: actions/cache@v1.0.3
with:
Expand Down
12 changes: 1 addition & 11 deletions gaphor/plugins/console/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,11 @@
import os
import pydoc
import sys
from rlcompleter import Completer
from typing import Dict, List

from gi.repository import Gdk, GLib, Gtk, Pango

if os.getenv("GITHUB_REF"):
# Work around issues in CI with loading rlcompleter
# https://github.com/gaphor/gaphor/issues/245
class Completer:
pass


else:
from rlcompleter import Completer


if __name__ == "__main__":
import gi

Expand Down