Skip to content

fix: Correct parameter order in high score recording #10

fix: Correct parameter order in high score recording

fix: Correct parameter order in high score recording #10

Workflow file for this run

name: Python Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3-tk xvfb
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
env:
CI: true
DISPLAY: ':99.0'
run: |
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
pytest tests/ -v --cov=src