[lib] make copy_to_another_image() call Image instance #127
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
# Run the test cases for each commit, without build. | |
name: Test | |
on: | |
push: | |
branches: | |
- dev | |
workflow_dispatch: | |
jobs: | |
job1: | |
name: Test | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-12, macos-13, windows-2019] | |
python_version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python_version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install pytest psutil | |
- name: Test | |
run: | | |
pytest -v | |
job2: | |
name: Test on ubuntu | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04] | |
python_version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python_version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install pytest psutil | |
- name: Test | |
run: | | |
pytest -v |