Skip to content

Bump setuptools from 67.4.0 to 70.0.0 #413

Bump setuptools from 67.4.0 to 70.0.0

Bump setuptools from 67.4.0 to 70.0.0 #413

Workflow file for this run

# SPDX-FileCopyrightText: 2021 The SMW Music Python Project Authors <https://github.com/com-posers-pit/smw_music/blob/develop/AUTHORS.rst>
#
# SPDX-License-Identifier: CC0-1.0
# Adapted from https://github.com/snok/install-poetry
name: Test
on:
- push
- pull_request
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11'] #, '3.10']
env:
DISPLAY: ':99.0'
steps:
- name: Install system dependencies
run: |
sudo apt update
sudo apt install -y portaudio19-dev libegl1 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x120
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: snok/install-poetry@v1
- name: Install library
run: poetry install --no-interaction --with=dev
- name: Test with tox
run: poetry run tox -e py
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
verbose: true
windows:
runs-on: windows-latest
strategy:
matrix:
python-version: ['3.11'] #, '3.10']
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Install Poetry
run: pipx install poetry==1.3.2
- name: Set up Python ${{ matrix.python-version }}
id: install_py
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Make environment
run: poetry env use ${{ steps.install_py.outputs.python-path }}
- name: Verify version
run: poetry run python -V
- name: Install library
run: poetry install --no-interaction --with=dev
- name: Test with tox
run: poetry run tox -e py