-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (37 loc) · 901 Bytes
/
main.yml
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
37
38
39
40
41
42
43
name: CI Workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
container:
image: python:3.8.19-bookworm
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Python dependencies
run: |
echo "Running before script"
echo "Installing requirements..."
pip install -r requirements.txt
- name: Run tests
run: |
echo "Executing tests..."
pytest ./tests/test_experiments.py
pytest ./tests/test_default_experiments.py
deploy:
runs-on: ubuntu-latest
needs: test
container:
image: python:3.8.19-bookworm
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Deployment step
run: |
echo "No deployment commands for now."