aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-05-10 23:57:25 +0400
committerGravatar GitHub <[email protected]>2022-05-10 23:57:25 +0400
commite7fbea9a74f13312aa67a7737b632db46680ff80 (patch)
treeecd2000830012406982ce78c909215419a50fa8b /.github
parentFix Discord Invite Regex Docs (diff)
parentEnable Testing In CI (diff)
Merge pull request #75 from python-discord/prepare-v6v7.0.0
Prepare v7
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint-test.yaml (renamed from .github/workflows/lint.yaml)15
1 files changed, 4 insertions, 11 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint-test.yaml
index cbe692f3..a51623cb 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint-test.yaml
@@ -1,4 +1,4 @@
-name: Lint
+name: Lint & Test
on:
push:
@@ -12,7 +12,7 @@ concurrency:
jobs:
lint:
- name: Run pre-commit & flake8
+ name: Run Linting & Test Suites
runs-on: ubuntu-latest
steps:
@@ -42,15 +42,8 @@ jobs:
run: "flake8 \
--format='::error file=%(path)s,line=%(row)d,col=%(col)d::[flake8] %(code)s: %(text)s'"
-# - name: Run tests and generate coverage report
-# run: pytest -n auto --cov --disable-warnings -q
-#
-# # This step will publish the coverage reports coveralls.io and
-# # print a "job" link in the output of the GitHub Action
-# - name: Publish coverage report to coveralls.io
-# env:
-# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-# run: coveralls
+ - name: Run tests and generate coverage report
+ run: python -m pytest -n auto --cov botcore -q
# Prepare the Pull Request Payload artifact. If this fails, we
# we fail silently using the `continue-on-error` option. It's