(wip) Working on the interface for the new API, along with more tests. #31
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: Main | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
main: | |
strategy: | |
matrix: | |
python-version: ['3.10', '3.11'] | |
os: ['ubuntu-22.04', 'macos-12', 'windows-2022'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Cache Python Dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ${{ env.pythonLocation }} | |
key: ${{ runner.os }}-os:${{ matrix.os }}-python:${{ matrix.python-version }}-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }} | |
- name: Install Dependencies | |
shell: bash | |
run: pip3 install -U -r requirements.txt | |
- name: Run Tests | |
shell: bash | |
run: ./run_tests.py | |
- name: Check Style | |
shell: bash | |
run: ./.ci/check_style.sh |