Custom File Name | v0.1.0 #6
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
on: | |
push: | |
branches: | |
- release | |
paths-ignore: | |
- README.md | |
- LICENSE.md | |
pull_request: | |
branches: | |
- release | |
paths-ignore: | |
- README.md | |
- LICENSE.md | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] | |
name: Unittest - Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
steps: | |
- name: Download repository | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install repository's dependencies | |
run: | | |
# Install PIP | |
python -m ensurepip --upgrade | |
# Install dependencies | |
pip install -r requirements.txt | |
- name: Run tests with unittest | |
run: python -m unittest discover |