Skip to content

Commit

Permalink
Add build and test step to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella committed Nov 13, 2023
1 parent 4e7a3f2 commit 88d938d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ concurrency:
cancel-in-progress: true

jobs:
build:
name: Build Package
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Check out code
uses: actions/checkout@v4
- name: Install build dependencies
run: pip install build twine
- name: Build package
run: python -m build .
- name: Twine Check
run: twine check dist/*
test:
name: Run pytest
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 88d938d

Please sign in to comment.