Skip to content

Commit

Permalink
Dont run this one
Browse files Browse the repository at this point in the history
  • Loading branch information
Mews committed Jun 11, 2024
1 parent 90f8dfe commit 6184449
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Run tests

on:
push:
gollum

env:
pytest_cpus: 2
pytest_cpus: 2 # How many cpu cores will be used to run tests
pytest_cov_dir: 'dgmr' # pytest-cov will look at the coverage for this directory

jobs:
test:
Expand All @@ -19,4 +20,13 @@ jobs:
- name: Run tests
run: |
echo pytest -n $pytest_cpus
echo pytest -n $pytest_cpus --cov-report=xml --cov=$pytest_cov_dir
- name: Report coverage
run: |
coverage report -m
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false

0 comments on commit 6184449

Please sign in to comment.