Skip to content

Update Codecov action to v4. #20

Update Codecov action to v4.

Update Codecov action to v4. #20

Workflow file for this run

name: Build Test Coverage
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
env:
DISPLAY: :0
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python 3.8.12
uses: actions/setup-python@v4
with:
python-version: '3.8.12'
- name: Update PIP
run: python -m pip install --upgrade pip
- name: Install OS Dependencies
run: sudo apt-get install xvfb
- name: Install Requirements
run: pip install -r requirements.txt
- name: Generate Report
run: xvfb-run --auto-servernum coverage run --source=chip8 -m unittest
- name: Codecov
uses: codecov/codecov-action@v4