Testing the project pushed by @nyx-4 #5
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: Testing all projects using Pytest | |
run-name: Testing the project pushed by @${{ github.actor }} | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
pytest-calc: | |
name: Testing calc (microprojects/calc) | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
cache: 'pip' | |
- run: pip install -r microprojects/calc/requirements.txt | |
- run: pip install -r requirements.txt | |
- run: pip install pytest | |
- run: pytest microprojects/calc |