Skip to content

Commit 05ee5af

Browse files
committed
Addinthe workflows actions
1 parent e2796cd commit 05ee5af

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
# we can specify what Github events trigger the action
4+
5+
on: push
6+
7+
jobs:
8+
9+
build:
10+
11+
# we can specify the OS
12+
runs-on: ubuntu-lattest
13+
14+
# a job is a series of steps
15+
steps:
16+
17+
18+
- name: Checkout respository
19+
uses: actions/ checkout@v4
20+
21+
- name: Set up Python 3.11
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: "3.11"
25+
26+
- name: Install Python dependencies
27+
run: |
28+
python3 -m pip intsall --upgrade pip
29+
python3 -m pip install -r requirements.txt
30+
31+
- name: Test with PyTest
32+
run:
33+
python3 -m
34+

0 commit comments

Comments
 (0)