-
-
Notifications
You must be signed in to change notification settings - Fork 11
80 lines (80 loc) · 2.86 KB
/
ml_code_checker.yml
File metadata and controls
80 lines (80 loc) · 2.86 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
on:
push:
branches:
- main
paths:
- machinelearning/**
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
name: Machine Learning Projects
jobs:
fcc_magic_example:
name: fcc_magic_example Code Checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r machinelearning/freecodecamp/fcc_magic_example/requirements.txt
- name: Run Python script
run: python machinelearning/freecodecamp/fcc_magic_example/fcc_magic_example.py
- name: Send Message
if: always()
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
GitHub Action for machinelearning/fcc_magic_example is completed with status ${{ job.status }} for ${{ github.ref }}.
fcc_bikes_regression:
name: fcc_bikes_regression Code Checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r machinelearning/freecodecamp/fcc_bikes_regression/requirements.txt
- name: Run Python script
run: python machinelearning/freecodecamp/fcc_bikes_regression/fcc_bikes_regression.py
- name: Send Message
if: always()
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
GitHub Action for machinelearning/fcc_bikes_regression is completed with status ${{ job.status }} for ${{ github.ref }}.
fcc_seeds_unsupervised:
name: fcc_seeds_unsupervised Code Checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r machinelearning/freecodecamp/fcc_seeds_unsupervised/requirements.txt
- name: Run Python script
run: python machinelearning/freecodecamp/fcc_seeds_unsupervised/fcc_seeds_unsupervised.py
- name: Send Message
if: always()
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
GitHub Action for machinelearning/fcc_seeds_unsupervised is completed with status ${{ job.status }} for ${{ github.ref }}.