Rename section for singleplayer mode in README #35
This file contains hidden or 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: Automated QA Testing Pipeline | |
| # This tells GitHub WHEN to run the tests | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build-and-test: | |
| # This tells GitHub to rent a free Linux server | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 # Updated from v3 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v5 # Updated from v4 | |
| with: | |
| python-version: "3.10" | |
| - name: Install System Dependencies for OpenCV | |
| # OpenCV requires these specific Linux graphics libraries to run headlessly | |
| run: sudo apt-get update && sudo apt-get install -y libgl1 libglib2.0-0 | |
| - name: Install Python Dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install opencv-python numpy pygame pytest | |
| - name: Run Pytest QA Suite | |
| run: | | |
| pytest tests/ |