Skip to content

created a display that shows amount and duration of subscription, tes… #21

created a display that shows amount and duration of subscription, tes…

created a display that shows amount and duration of subscription, tes… #21

Workflow file for this run

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