Skip to content

Commit a2badd9

Browse files
committed
Add Github CI
1 parent e612a7a commit a2badd9

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Continuous integration"
2+
3+
on:
4+
pull_request:
5+
branch: ["main"]
6+
push:
7+
workflow_dispatch:
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v5
14+
- uses: actions/setup-python@v6
15+
with:
16+
python-version: '3.13'
17+
- run: |
18+
pip install -e .[testing]
19+
pytest -vv

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ dependencies = [
1818

1919
dynamic = ["readme"]
2020

21+
[project.optional-dependencies]
22+
testing = [
23+
"pytest"
24+
]
25+
2126
[project.urls]
2227
Source = "https://github.com/csiro-coasts/emsarray-smc/"
2328

0 commit comments

Comments
 (0)