forked from spotify/pythonflow
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 703 Bytes
/
main.yml
File metadata and controls
29 lines (27 loc) · 703 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
name: CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
python-version: ["3.9"]
name: Continuous Integration
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v2"
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('test_requirements.txt') }}
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build the project
run: make