-
-
Notifications
You must be signed in to change notification settings - Fork 25
51 lines (42 loc) · 1.08 KB
/
build.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
44
45
46
47
48
49
50
51
name: Build
on:
schedule:
- cron: "0 12 * * SUN"
push:
branches:
- master
pull_request_target:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8', '3.13']
os: [ubuntu-latest, macos-latest]
environment:
name: random word ci
steps:
- uses: actions/checkout@v2
- name: Decrypt large secret
run: ./.github/scripts/decrypt_secrets.sh
env:
SECRET_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE }}
- name: Copying Config.yml to random_word folder
run: cp $HOME/secrets/config.yml random_word/
- name: Print Directory Structure of random_word
run: ls -la random_word
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install packages
run: |
make init
- name: Python Lint
run: |
make lint
- name: Run tests
run: |
make test