Skip to content

Commit

Permalink
ci: add test config
Browse files Browse the repository at this point in the history
  • Loading branch information
noritakaIzumi committed Oct 23, 2024
1 parent 9c69ab4 commit cada255
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test

on:
push:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Hatch
uses: pypa/hatch@install

- name: Up Test DB Containers
run: |
pushd tests
docker compose up -d --wait
popd
- name: Test App
run: hatch test --all

- name: Check Types
run: hatch run types:check

0 comments on commit cada255

Please sign in to comment.