Skip to content

Commit 9c37649

Browse files
Add test CI
1 parent e9fa37c commit 9c37649

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will run package tests
2+
3+
name: Python tests
4+
5+
on:
6+
push:
7+
branches: [ "main" ]
8+
pull_request:
9+
branches: [ "main" ]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
build:
16+
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Set up Python 3.10
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: "3.10"
25+
- name: Install hatch
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install hatch
29+
- name: Run tests using hatch
30+
run: |
31+
hatch test

0 commit comments

Comments
 (0)