1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-11 04:02:23 +08:00
NeoNetwork/.github/workflows/test-your-pr.yml

32 lines
618 B
YAML
Raw Normal View History

2020-05-01 17:45:30 +08:00
name: Test Your PR
on:
pull_request:
2020-07-21 00:40:22 +08:00
branches: [master]
2020-05-01 17:45:30 +08:00
jobs:
build:
name: Generate ROA
2020-06-04 11:53:59 +08:00
runs-on: ubuntu-20.04
2020-05-01 17:45:30 +08:00
steps:
2020-07-23 16:53:37 +08:00
- uses: actions/checkout@v2
2020-05-23 19:00:02 +08:00
with:
ref: ${{ github.event.pull_request.head.sha }}
2020-05-01 17:45:30 +08:00
2020-07-23 16:53:37 +08:00
- uses: actions/checkout@v2
with:
repository: NeoCloud/NeoNetwork-ROA
path: generated
2020-07-21 01:58:59 +08:00
- uses: actions/setup-python@v2
with:
2020-07-23 16:54:34 +08:00
python-version: 3.x
architecture: x64
2020-05-01 17:45:30 +08:00
2020-07-21 10:35:53 +08:00
- run: pip install -r .scripts/requirements.txt
2020-07-21 01:58:59 +08:00
- run: .scripts/generate-roa.sh
2020-07-21 01:23:09 +08:00
2020-07-23 16:53:37 +08:00
- run: git -C generated diff README.txt