Skip to content

Merge pull request #89 from openstax/K12-51/video-iframe-patch-script #385

Merge pull request #89 from openstax/K12-51/video-iframe-patch-script

Merge pull request #89 from openstax/K12-51/video-iframe-patch-script #385

Workflow file for this run

---
name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
tests:
timeout-minutes: 10
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: pip install .[test]
- name: Lint
run: flake8
- name: Test
run: pytest --cov=mbtools --cov-report=term --cov-report=xml
- name: Upload Code Coverage
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}