Skip to content

Commit

Permalink
Added automated test infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
thilokru committed Jan 8, 2025
1 parent 209a2d1 commit 9e7f903
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Tests

on:
push:
branches: 'master'

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install build dependencies
run: python -m pip install -U hatch hatch-vcs
- name: Run tests
run: hatch test --cover-quiet --randomize
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ venv
# Build
dist/
src/qkit/_version.py
.coverage

# Legacy qkit folder logs
qkit/logs
Expand Down

0 comments on commit 9e7f903

Please sign in to comment.