Skip to content

Commit

Permalink
Poetry testing with GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers committed Feb 1, 2024
1 parent 7bd2a89 commit df8cebb
Show file tree
Hide file tree
Showing 4 changed files with 453 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/poetry-install-deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Testing GH Actions
on:
- push
jobs:
pip-deps:

strategy:
matrix:
python-version: ["3.12"]
platform: ["ubuntu-22.04"]

runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry==1.7.1
poetry install --with dev
- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Display installed packages
run: pip list

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.venv/
Loading

0 comments on commit df8cebb

Please sign in to comment.