-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 702 Bytes
/
ci.yml
File metadata and controls
32 lines (25 loc) · 702 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 & Test
on: push
jobs:
lint:
name: Lint and test python
# Set the type of machine to run on
runs-on: ubuntu-latest
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
bash scripts/install.fish
- name: Run the linters
run: |
bash scripts/lint.fish
- name: Run the tests
run: |
bash scripts/run-tests.fish