Skip to content

'Refactored by Sourcery' #142

'Refactored by Sourcery'

'Refactored by Sourcery' #142

Workflow file for this run

name: python-tests
on:
- push
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get -y install libsdl1.2-dev libsdl2-dev
python -m pip install --upgrade pip
pip install -r requirements/tests.txt
pip install .
- name: Test with pytest
run: |
cd tests/python
pytest