-
Notifications
You must be signed in to change notification settings - Fork 23
37 lines (33 loc) · 873 Bytes
/
Copy pathpytest.yml
File metadata and controls
37 lines (33 loc) · 873 Bytes
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
name: Mapillary Python SDK - PyTest Workflow
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
# Pinned rather than "3.x" so CI cannot drift onto an interpreter the
# lockfile has never been resolved against. Pipfile.lock is generated
# on this version; bump both together.
python-version: "3.13"
- name: Install dependencies
run: |
make setup-dev
- name: Locally install branch's mapillary
run: |
make build && make local-install
- name: Formatting with black
run: |
make format
- name: Lint with flake8
run: |
make lint
- name: Test with pytest
run: |
make test