-
Notifications
You must be signed in to change notification settings - Fork 3
30 lines (28 loc) · 881 Bytes
/
push.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
name: Pipeline
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
cache: 'pip'
- uses: docker/setup-buildx-action@v1
- run: pip install -r requirements.txt
- run: pip install coveralls
- run: coverage run --source=flash setup.py test
- run: docker build . -t textbook/flash
- run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: d3sandoval/cloud-foundry-action@1.1.1
with:
args: push
env:
CF_API: https://api.run.pcfone.io
CF_PASSWORD: ${{ secrets.CF_PASSWORD }}
CF_TARGET_ORG: pivot-jsharpe
CF_TARGET_SPACE: flash
CF_USERNAME: ${{ secrets.CF_USERNAME }}