fixed read_gym() method using copy.deepcopy() on workout zone objects #22
This file contains 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: Run Tests | |
on: | |
push: | |
branches: | |
- main # Run tests on pushes to the main branch | |
pull_request: | |
branches: | |
- main # Run tests for pull requests targeting the main branch | |
jobs: | |
test: | |
runs-on: macos-latest | |
steps: | |
# Step 1: Check out the code | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# Step 2: Set up Python | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x # Replace with Python version | |
# Step 3: Install dependencies | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
# Step 4: Run tests | |
- name: Run tests | |
run: pytest |