Skip to content

Commit

Permalink
add poetry config and attempt GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankeidel committed Jan 4, 2025
1 parent ab4e487 commit 15e1e5b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: PyTest
on: [push]

jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
poetry-version: ["latest", "main", "1.6.1"]
os: [ubuntu-22.04, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v4
with:
poetry-version: ${{ matrix.poetry-version }}
- name: View poetry --help
run: poetry --help
3 changes: 3 additions & 0 deletions poetry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[virtualenvs]
create = true
in-project = true

0 comments on commit 15e1e5b

Please sign in to comment.