Update
This commit is contained in:
parent
103d056f4f
commit
e90c8d7e37
23
.github/workflows/test.yml
vendored
23
.github/workflows/test.yml
vendored
|
@ -10,29 +10,6 @@ on:
|
|||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
python_36:
|
||||
|
||||
# We need to use 20.04 to get access to the libolm3 package
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.6
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.6
|
||||
|
||||
- name: Install project dependencies
|
||||
run: |
|
||||
# Install libolm, required for end-to-end encryption functionality
|
||||
sudo apt install -y libolm-dev libolm3
|
||||
# Install python dependencies
|
||||
python setup.py install
|
||||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
python -m unittest
|
||||
|
||||
python_39:
|
||||
|
||||
# We need to use 20.04 to get access to the libolm3 package
|
||||
|
|
|
@ -15,8 +15,6 @@ from nio import (
|
|||
from nyx_bot.bot_commands import Command
|
||||
from nyx_bot.chat_functions import send_jerryxiao, send_text_to_room
|
||||
from nyx_bot.config import Config
|
||||
|
||||
# from nyx_bot.message_responses import Message
|
||||
from nyx_bot.storage import Storage
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
Loading…
Reference in a new issue