Skip to content

Merge from master #667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
name: CircleCI Workflow
version: 2.1 # use CircleCI 2.1
orbs:
python: circleci/python@2.1.1
Expand Down Expand Up @@ -26,27 +27,27 @@ jobs: # A basic unit of work in a run
- python/install-packages:
pip-dependency-file: requirements.txt
pkg-manager: pip
- run:
command: |
echo $PATH
name: Display system path
- run:
command: |
python -m pip install pytest
name: Install pytest
- run:
command: |
pytest --version
python -m pytest --version
name: Show pytest version
- run:
command:
sudo mkdir /home/circleci/project/test-results
mkdir /home/circleci/project/test-results
name: Create test-results folder
- run:
command:
python -m pytest
command: |
python -m pytest . -v --junitxml=test-results/test-results.xml
name: Run tests with pytest
# Upload test results for display in Test Summary:
- run:
command: |
ls
ls test-results/
name: List test files
# https://circleci.com/docs/2.0/collect-test-data/
- store_test_results:
path: test-results/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Flake8 for kyu2

on: # yamllint disable-line rule:truthy
workflow_call:
push:
branches:
- kyu2
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/kyu2.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/lint_test_build_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- mypy
- yamllint
- pydocstyle
uses: iKostanOrg/codewars/.github/workflows/kyu_2/pytype_kyu2.yml@master
uses: iKostanOrg/codewars/.github/workflows/pytype_kyu2.yml@master
pytype_kyu3:
name: PyType Lint (kyu3)
needs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
name: MyPy for kyu2

on: # yamllint disable-line rule:truthy
workflow_call:
push:
branches:
- 'kyu2'
- kyu2

permissions:
contents: read
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
name: pydocstyle for kyu2

on: # yamllint disable-line rule:truthy
workflow_call:
push:
branches:
- 'kyu2'
- kyu2

permissions:
contents: read
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
name: PyLint for kyu2

on: # yamllint disable-line rule:truthy
workflow_call:
push:
branches:
- 'kyu2'
- kyu2

permissions:
contents: read
Expand Down