Merge pull request #10 from m-tmatma/m-tmatma-patch-2 #52
This file contains 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: pytest cclauss/GitHub-Action-for-pytest | |
on: | |
push: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8 pytest pytest-md pytest-emoji requests | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: GitHub Action for pytest | |
uses: cclauss/[email protected] |