Skip to content

Commit

Permalink
fixed dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbo committed Feb 13, 2020
1 parent 35be028 commit da83e1a
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 30 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ jobs:
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
restore-keys: ${{ runner.os }}-poetry-

- name: Install Dependencies 📦
run: poetry install
run: make install

- name: Lint Code 🎎
run: make lint
Expand Down Expand Up @@ -72,23 +71,20 @@ jobs:
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
restore-keys: ${{ runner.os }}-poetry-

- name: Install Dependencies 📦
run: poetry install
run: make install

- name: Test Code 🔍
run: |
poetry run py.test tests --cov rasa_sdk -v
run: make test

- name: Send Coverage Report 📊
if: matrix.python-version == 3.6
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_SERVICE_NAME: github-ci
run: |
coveralls
run: coveralls

deploy:
name: Deploy to PyPI
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ lint:
poetry run black --check rasa_sdk tests

test: clean
poetry run py.test tests --cov rasa_sdk -W ignore
poetry run py.test tests --cov rasa_sdk -v

release:
poetry run python scripts/release.py
120 changes: 102 additions & 18 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ sanic-cors = "^0.10.0b1"

[tool.poetry.dev-dependencies]
pytest-cov = "^2.8.1"
coveralls= "^1.11.0"
coveralls = "^1.11.0"
pytest = "^5.3.4"
black = "^19.10b0"
flake8 = "^3.7.9"
Expand Down

0 comments on commit da83e1a

Please sign in to comment.