Skip to content

Commit

Permalink
Create crypt_price.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailButnaru authored Jun 30, 2020
1 parent 846b33c commit 740dca3
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/crypt_price.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CryptPrice CI

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
python -m unittest discover crypto_service
env:
DJANGO_SETTINGS_MODULE: crypto_service.core.settings
DJANGO_CONFIGURATION: Base
SECRET_KEY: test
DEBUG: True
ALLOWED_HOSTS: "*"
SLACK_BOT_USER_OAUTH_ACCESS_TOKEN: bot_token
SLACK_CLIENT_ID: client_id
SLACK_CLIENT_SECRET: client_secret
SLACK_VERIFICATION_TOKEN: verification_token

0 comments on commit 740dca3

Please sign in to comment.