Skip to content

GUI App with PyQT

GUI App with PyQT #127

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.REPO_TOKEN }}
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
cd test
pip install -r requirements.txt
- name: Run unit test
run: |
pytest
- name: Upload Coverage
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: coverage.xml