forked from DataDog/datadog-lambda-python
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (26 loc) · 759 Bytes
/
check-size.yml
File metadata and controls
33 lines (26 loc) · 759 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
name: check-size
on: pull_request
jobs:
check-size:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install Crossbuild Deps
run: |
sudo apt-get update --allow-releaseinfo-change --fix-missing
sudo apt install -y qemu-user-static binfmt-support
- name: Install dependencies
run: |
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install .[dev]
- name: Build Layers
run: ./scripts/build_layers.sh
- name: Check Size
run: ./scripts/check_layer_size.sh