Skip to content

Commit

Permalink
Merge pull request #194 from BoostryJP/Iteration/2020.Mar
Browse files Browse the repository at this point in the history
Iteration/2020.mar
  • Loading branch information
YoshihitoAso authored Apr 6, 2020
2 parents 2eb2d16 + 19fcedd commit e09453f
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.python-version
.pytest_cache
__pycache__
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: test
on: [pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Test
run: docker-compose run ibet-smartcontract
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ RUN echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~apl/.bash_profile \

# install python & package
RUN . ~/.bash_profile \
&& pyenv install 3.6.2 \
&& pyenv global 3.6.2 \
&& pyenv install 3.6.10 \
&& pyenv global 3.6.10 \
&& pip install --upgrade pip

# requirements
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# ibet Smart Contract

<p>
<img alt="Version" src="https://img.shields.io/badge/version-0.8-blue.svg?cacheSeconds=2592000" />
<img alt="Version" src="https://img.shields.io/badge/version-0.9-blue.svg?cacheSeconds=2592000" />
<a href="#" target="_blank">
<img alt="License: Apache--2.0" src="https://img.shields.io/badge/License-Apache--2.0-yellow.svg" />
</a>
Expand Down
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: "3"

services:
ganache-cli:
image: "trufflesuite/ganache-cli:latest"
ports:
- "8545:8545"
ibet-smartcontract:
build: "."
environment:
APP_ENV: "dev"
links:
- ganache-cli:quorum
depends_on:
- ganache-cli

0 comments on commit e09453f

Please sign in to comment.