-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 812 Bytes
/
makefile.yml
File metadata and controls
36 lines (29 loc) · 812 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
33
34
35
36
name: TradeStrike CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
permissions:
contents: read # Read access to the repository content (e.g., to fetch code)
actions: read # Read access to workflow actions
env:
PYTHON_VERSION: '3.12' # Set Python version as a global environment variable
steps:
- uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install Dependencies
run: make install
- name: Run Unit Tests
run: make test