Add Bitplane Control #31
Workflow file for this run
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: Build Test Coverage | |
on: [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.2.0 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |