-
Notifications
You must be signed in to change notification settings - Fork 21
32 lines (32 loc) · 783 Bytes
/
lint.yml
File metadata and controls
32 lines (32 loc) · 783 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
name: lint then test
on:
push:
branches: [master, test-me-*]
pull_request:
jobs:
main:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: sync symlinks
run: |
# Ensure symlinks are synced
make sync-all-links
if [ "$(git status --porcelain)" ]; then
echo 'Symlinks out-of-sync. Please run "make sync-all-links" and update your commit.'
exit 1
fi
- name: lint
env:
TARGET: lint
run: |
./api-server/bin/test-utils/run-tests
- name: test
env:
TARGET: test
run: |
./api-server/bin/test-utils/run-tests