Skip to content

test workflows

test workflows #138

Workflow file for this run

name: Python testing
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12'
java-package: jdk
architecture: x64
- 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 nox
pip install .
- name: Lint and test with nox
run: |
nox
env:
APIKEY: ${{ secrets.APIKEY }}