-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 936 Bytes
/
ci.yml
File metadata and controls
44 lines (35 loc) · 936 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
34
35
36
37
38
39
40
41
42
43
44
---
name: CI
on:
push:
branches-ignore:
- 'feature/latest'
pull_request:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Requirements
run: |
python -m pip install --upgrade pip
pip install -qr requirements.txt
pip freeze
- name: Build
run: echo $GITHUB_EVENT_NAME && make build
- name: Test
run: make test
- name: Create Tag
run: |
git tag $( cat wait4localstack/VERSION )
git push --tags
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}