Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mmshivesh/PySnooNotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmshivesh committed Jul 20, 2020
2 parents 5c7ed88 + 4891d4d commit b813c7c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest --key ${{ secrets.SNOONOTES_KEY }}
pytest tests/test_main.py --key ${{ secrets.SNOONOTES_KEY }}
22 changes: 21 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,28 @@ on:
types: [created]

jobs:
deploy:
build:
runs-on: ubuntu-latest
strategy:
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@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest tests/test_main.py --key ${{ secrets.SNOONOTES_KEY }}
deploy:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit b813c7c

Please sign in to comment.