Skip to content

Commit

Permalink
Commented out the tests (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikiP98 committed May 17, 2024
1 parent 918e5ae commit 6137a00
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,48 +27,48 @@ jobs:
cd src
flake8
test:
runs-on: windows-latest
permissions:
pull-requests: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Check Version
run: python --version

- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd src
python -m pip install -r requirements.txt
git submodule update --init --recursive --remote
- name: Test
run: |
cd src
coverage run -m unittest discover
coverage xml
- name: Code Coverage Report
uses: irongut/[email protected]
with:
filename: coverage.xml
badge: true
fail_below_min: true
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '60 80'

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md
# test:
# runs-on: windows-latest
# permissions:
# pull-requests: write
# contents: read
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python 3.12
# uses: actions/setup-python@v3
# with:
# python-version: "3.12"
# - name: Check Version
# run: python --version
#
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# cd src
# python -m pip install -r requirements.txt
# git submodule update --init --recursive --remote
#
# - name: Test
# run: |
# cd src
# coverage run -m unittest discover
# coverage xml
# - name: Code Coverage Report
# uses: irongut/[email protected]
# with:
# filename: coverage.xml
# badge: true
# fail_below_min: true
# format: markdown
# hide_branch_rate: false
# hide_complexity: true
# indicators: true
# output: both
# thresholds: '60 80'
#
# - name: Add Coverage PR Comment
# uses: marocchino/sticky-pull-request-comment@v2
# if: github.event_name == 'pull_request'
# with:
# recreate: true
# path: code-coverage-results.md

0 comments on commit 6137a00

Please sign in to comment.