Skip to content

Commit

Permalink
Add Matrix Action
Browse files Browse the repository at this point in the history
DevTown authored Oct 2, 2021

Verified

This commit was signed with the committer’s verified signature.
bitwarden-devops-bot Bitwarden DevOps
1 parent e6fee6f commit b822752
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -13,21 +13,24 @@ jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: ['3.5', '3.6','3.7','3.8' ]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: ${{ matrix.python-version }}

- name: Install mosquito
run: sudo apt-get -y install mosquitto

- name: Install dependencies
run: |
python setup.py develop
pip install pytest flake8 autopep8
- name: Lint with flake8
- name: Run pytest
run: |
python -m pytest

0 comments on commit b822752

Please sign in to comment.