-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 924 Bytes
/
check.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
43
44
45
name: CI checks
on:
pull_request:
paths:
- '.github/workflows/check.yml'
- 'experiment/**'
- 'rosmo/**'
- 'tests/**'
- 'pyproject.py'
- 'Makefile'
push:
branches:
- main
paths:
- '.github/workflows/check.yml'
- 'experiment/**'
- 'rosmo/**'
- 'tests/**'
- 'pyproject.py'
- 'Makefile'
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.8.13
- uses: ./.github/actions/cache
- name: Install
run: |
pip install -e .
pip install dopamine-rl==3.1.2
pip install chex==0.1.5
- name: Lint
run: make checks