mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
play: test machine user
This commit is contained in:
parent
3c1115cf0c
commit
09ff84c1b1
1 changed files with 17 additions and 0 deletions
|
@ -15,6 +15,23 @@ jobs:
|
|||
- run:
|
||||
name: Run tests
|
||||
command: make test
|
||||
- add_ssh_keys:
|
||||
fingerprints:
|
||||
- "d3:5f:9d:68:ea:12:9a:42:d3:d3:e1:db:b0:6a:fc:d2"
|
||||
- run:
|
||||
name: TEST - Create test branch on api-data # TODO: move to the deploy phase TODO: rename
|
||||
command: |
|
||||
mkdir -p ./testpr
|
||||
cd testpr
|
||||
git clone https://github.com/PokeAPI/api-data.git api-data
|
||||
cd api-data
|
||||
git checkout -b testbranch
|
||||
touch .gitkeeptestpr
|
||||
git config --global user.name "pokeapi-machine-user"
|
||||
git config --global user.email pokeapi.co@gmail.com
|
||||
git add .
|
||||
git commit -m "play: add test file"
|
||||
git push -uf origin testbranch
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
|
|
Loading…
Reference in a new issue