Skip to content

Commit

Permalink
Run CI on ubuntu, macos and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasberbuer committed Dec 16, 2020
1 parent 2ed0f6b commit 9b6ddf3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ on: [push]

jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: [3.6, 3.7, 3.8]

steps:
Expand All @@ -15,10 +16,14 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
- name: Install libsndfile for Linux
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install -y libsndfile1
- name: Install libsndfile for MacOS
if: matrix.os == 'macos-latest'
run: brew install libsndfile
- name: Install Tox
run: pip install tox
- name: Run pylint
Expand Down

0 comments on commit 9b6ddf3

Please sign in to comment.