chore(deps): update pypa/gh-action-pypi-publish action to v1.10.2 #606
Workflow file for this run
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: Run linter & unit tests | |
on: push | |
jobs: | |
linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code Repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
env: | |
SKIP: no-commit-to-branch | |
test: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Run image | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.4.2 | |
- name: Install libraries | |
run: poetry install | |
- name: Run tests | |
run: cd src && poetry run python -m unittest |