Merge pull request #23 from ezio416/patch-1 #127
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: Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'docs/**.md' | |
push: | |
branches: | |
- main | |
paths: | |
- 'docs/**.md' | |
jobs: | |
tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Chackout repository | |
uses: actions/checkout@v1 | |
- name: Setup Python v3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install pyyaml | |
run: pip install pyyaml | |
- name: Run tests | |
run: python test.py |