Merge pull request #69 from rolandmas/master #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Jupyter Telemetry Unit Tests | |
on: | |
push: | |
branches: "*" | |
pull_request: | |
branches: "*" | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: ["3.6", "3.7", "3.8", "3.9"] | |
exclude: | |
- os: macos-latest | |
python-version: "3.6" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Install Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: "x64" | |
- name: Install the Python dependencies | |
run: | | |
pip install -e ".[test]" | |
- name: Run the tests | |
run: | | |
pytest jupyter_telemetry |