{"head_branch": "templates", "contributor": "sepandhaghighi", "sha_fail": "47ad548c15613c32f12b38e004ee58a36178f631", "sha_success": "92c0053fc684fd1ec008b733c2e45db08321f0e6", "language": "Python", "repo_owner": "sepandhaghighi", "repo_name": "pycm", "workflow_name": "CI", "workflow_filename": "test.yml", "workflow_path": ".github/workflows/test.yml", "workflow": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CI\n\non: [push, pull_request]\n\nenv:\n TEST_PYTHON_VERSION: 3.9\n TEST_OS: 'ubuntu-20.04'\n\njobs:\n build:\n\n runs-on: ${{ matrix.os }}\n strategy:\n matrix:\n os: [ubuntu-20.04, windows-2022, macOS-12]\n python-version: [3.6, 3.7.9, 3.8, 3.9, 3.10.0, 3.11.0]\n steps:\n - uses: actions/checkout@v2\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v2\n with:\n python-version: ${{ matrix.python-version }}\n - name: Installation\n run: |\n python -m pip install --upgrade pip\n pip install -r requirements.txt\n python setup.py install\n - name: First test\n run: |\n python -m pycm test\n python -m pycm\n - name: Test requirements Installation\n run: |\n python Otherfiles/requirements-splitter.py\n pip install --upgrade --upgrade-strategy=only-if-needed -r test-requirements.txt\n - name: Test with pytest\n run: |\n python -m pytest --cov=pycm --cov-report=term\n - name: Version check\n run: |\n python Otherfiles/version_check.py\n if: matrix.python-version == env.TEST_PYTHON_VERSION\n - name: Notebook check\n run: |\n pip install notebook>=5.2.2\n python Otherfiles/notebook_check.py\n if: matrix.python-version == env.TEST_PYTHON_VERSION && matrix.os == env.TEST_OS\n - name: Other tests\n run: |\n python -m vulture pycm/ Otherfiles/ setup.py --min-confidence 65 --exclude=__init__.py --sort-by-size\n python -m bandit -r pycm -s B311\n python -m pydocstyle -v --match-dir=pycm\n if: matrix.python-version == env.TEST_PYTHON_VERSION\n - name: Upload coverage to Codecov\n uses: codecov/codecov-action@v3\n with:\n fail_ci_if_error: false\n if: matrix.python-version == env.TEST_PYTHON_VERSION && matrix.os == env.TEST_OS\n - name: cProfile\n run: |\n python -m cProfile -s cumtime pycm/pycm_profile.py\n", "logs": "##[group]Run python Otherfiles/version_check.py\n\u001b[36;1mpython Otherfiles/version_check.py\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n TEST_PYTHON_VERSION: 3.9\n TEST_OS: ubuntu-20.04\n pythonLocation: /opt/hostedtoolcache/Python/3.9.18/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib\n##[endgroup]\nError in .github/ISSUE_TEMPLATE/bug_report.yaml\nMessage : [Errno 2] No such file or directory: '.github/ISSUE_TEMPLATE/bug_report.yaml'\n\nVersion tag tests failed!\nPassed : 10/11\n##[error]Process completed with exit code 1.\n", "diff": "diff --git a/CHANGELOG.md b/CHANGELOG.md\nindex de22bc3..df0e376 100644\n--- a/CHANGELOG.md\n+++ b/CHANGELOG.md\n@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.\n \n ## [Unreleased]\n ### Added\n-- `feature_request.yaml` template\n+- `feature_request.yml` template\n - `config.yml` for issue template\n ### Changed\n - Bug report template modified\ndiff --git a/Otherfiles/version_check.py b/Otherfiles/version_check.py\nindex a6605c1..6a5c3ee 100644\n--- a/Otherfiles/version_check.py\n+++ b/Otherfiles/version_check.py\n@@ -35,7 +35,7 @@ FILES = {\n os.path.join(\"Document\", \"Example1_files\", \"cm3.html\"): HTML_ITEMS,\n os.path.join(\"Otherfiles\", \"test.html\"): HTML_ITEMS,\n os.path.join(\"pycm\", \"pycm_param.py\"): PARAMS_ITEMS,\n- os.path.join(\".github\", \"ISSUE_TEMPLATE\", \"bug_report.yaml\"): ISSUE_TEMPLATE_ITEMS,\n+ os.path.join(\".github\", \"ISSUE_TEMPLATE\", \"bug_report.yml\"): ISSUE_TEMPLATE_ITEMS,\n }\n \n TEST_NUMBER = len(FILES.keys())\n"} |