-
Notifications
You must be signed in to change notification settings - Fork 279
42 lines (39 loc) · 1.03 KB
/
l5kit-lock.yml
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
name: L5Kit-tests-lock
on:
push:
branches: [ master ]
pull_request:
jobs:
CI-build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
working-directory: l5kit
run: |
pip install --upgrade pip
pip install pipenv
pipenv sync --dev
- name: Lint project
working-directory: l5kit
run: |
pipenv run ./run_tests.sh lint
- name: Import sorting project
working-directory: l5kit
run: |
pipenv run ./run_tests.sh isort
- name: Run tests
working-directory: l5kit
run: |
pipenv run ./run_tests.sh tests
- name: Check types with mypy
working-directory: l5kit
run: |
pipenv run ./run_tests.sh types