Skip to content

Commit

Permalink
python3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Berenz committed Oct 10, 2024
1 parent 8e945bf commit e4d1684
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 14 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: unit tests

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.9.2]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run tests
run: |
poetry run pytest
74 changes: 61 additions & 13 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Vincent Berenz"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.10"
python = "^3.9"
# Normal dependencies:
# Installable with both poetry and pip.
tomli = "^2.0.1"
Expand All @@ -27,6 +27,7 @@ flake8 = "^7.0.0"
types-toml = "^0.10.8.7"
isort = "^5.13.2"
mypy = "^1.8.0"
pytest = "^8.3.3"

[tool.poetry.group.doc]
optional = true
Expand Down

0 comments on commit e4d1684

Please sign in to comment.