Skip to content

Commit

Permalink
added github actions ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Álvaro Bartolomé del Canto authored Oct 7, 2019
1 parent e1c2c4a commit eb5e718
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: investpy_portfolio

on: [push]

jobs:
build:

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

steps:
- uses: actions/checkout@v1
- 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: Test with pytest
run: |
pip install pytest
pytest

0 comments on commit eb5e718

Please sign in to comment.