This repository was archived by the owner on Jun 16, 2025. It is now read-only.
docs: add docs #206
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: Tests | |
on: | |
push: | |
branches: ["main", "master"] | |
pull_request: | |
branches: ["main", "master"] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}${{ github.ref_name != github.event.repository.default_branch && github.ref || github.run_id }} | |
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v5.3.0 | |
with: | |
python-version: 3.10.* | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run a multi-line script | |
run: | | |
pytest |