Skip to content

Update readme.md

Update readme.md #10

Workflow file for this run

name: Run Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy pygame pandas
- name: Run all test scripts individually using python -m
run: |
set -e
export PYTHONPATH=$(pwd)
for testfile in tests/*.py; do
module_name=$(basename "$testfile" .py)
if [ "$module_name" != "__init__" ]; then
echo "Running tests.$module_name"
python -m tests.$module_name
fi
done