Skip to content

Selenium IDE test cases and fix on edit event function #39

Selenium IDE test cases and fix on edit event function

Selenium IDE test cases and fix on edit event function #39

Workflow file for this run

name: Django Coverage
on:
push:
branches:
- main
- tidyup
pull_request:
branches:
- main
- tidyup
jobs:
install:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get update
build:
needs: install
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install Dependencies
run: |
cd ScheduleBuilder
pip install -r requirements.txt
- name: Run Tests with Coverage
env:
CAL_ID: c_6ed17073345c64d5b392f5a8ef7b4a62938f12c8fc5fecfa4b7256ef88acad28@group.calendar.google.com
run: |
cd ScheduleBuilder/google_calendar
pytest --cov=./ --cov-report=xml test.py
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./ScheduleBuilder/google_calendar/coverage.xml
fail_ci_if_error: true