-
-
Notifications
You must be signed in to change notification settings - Fork 2
52 lines (40 loc) · 1.21 KB
/
test-and-lint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Tests and lint
on:
push:
jobs:
test_and_lint_forecast_inference:
name: Run tests and lint - forecast-inference
runs-on: ubuntu-latest
steps:
- name: Install linux dependencies
run: sudo apt-get install -y libgeos-dev
- name: Check out the repo
uses: actions/checkout@v2
with:
submodules: true
- name: Install and configure poetry
uses: snok/install-poetry@v1
with:
version: 1.3.2
- name: Run tests
run: cd forecast-inference && make test
- name: Run lint
run: cd forecast-inference && make lint
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
test_and_lint_database_cleanup:
name: Run tests and lint - database-cleanup
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Install and configure poetry
uses: snok/install-poetry@v1
with:
version: 1.3.2
- name: Run tests
run: cd database-cleanup && make test
- name: Run lint
run: cd database-cleanup && make lint
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3