Skip to content

Commit

Permalink
Create package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gkmngrgn authored Aug 31, 2024
1 parent 557250f commit db90beb
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: DOSH CLI Package

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Setup Poetry
uses: Gr1N/setup-poetry@v9
- name: Install dependencies
run: |
poetry install
- name: pre-commit
uses: pre-commit/action@v3
- name: Test with pytest
run: |
pytest

0 comments on commit db90beb

Please sign in to comment.