Refine function task descriptions in Python homework files for clarit… #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: basic_function_homework | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
# Checkout the repository | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
with: | |
repository: codeschooluz/basic_function_test | |
token: ${{secrets.TEST_KEY}} | |
path: test | |
- name: Install dependencies | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install pytest | |
run: | | |
pip install pytest | |
pip install requests | |
- name: Run tests | |
run: | | |
pytest -v --tb=no -q | |
continue-on-error: true | |
- name: Natijalar | |
run: | | |
CHANGED_FILES=$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }}) | |
python test/sendtest.py ${{github.actor}} '${{github.repository}}' "$CHANGED_FILES" |