Skip to content

Commit ab13af1

Browse files
committed
restructured repository folder, added code configuration files and a CI pipeline
1 parent 212a371 commit ab13af1

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/CI.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Tickit Data Lake CI Pipeline
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
- "feature/**"
8+
pull_request:
9+
branches:
10+
- "main"
11+
12+
jobs:
13+
CI:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Check out the repository
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: '3.12'
24+
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
30+
- name: Lint Python scripts with Ruff
31+
run: |
32+
python -m ruff check src/ tests/
33+
34+
- name: Test with pytest
35+
run: |
36+
pytest -s tests/

tests/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)