Merge pull request #6 from johnwason/readme_ack #12
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: CI | |
on: | |
push: | |
pull_request: | |
release: | |
types: | |
- created | |
workflow_dispatch: | |
jobs: | |
ubuntu_test: | |
strategy: | |
matrix: | |
runs-on: [ubuntu-20.04, ubuntu-22.04] | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: apt | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y python3 python3-pip curl python3-setuptools python3-wheel python3-pytest | |
- name: pip | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install .[test] | |
- name: test | |
run: | | |
python3 -m pytest -s | |
windows_test: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: pip | |
run: | | |
pip install .[test] | |
- name: test | |
run: | | |
python -m pytest -s | |
macos_test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: pip | |
run: | | |
python -m pip install .[test] | |
- name: test | |
run: | | |
python -m pytest -s | |