Merge pull request #22 from avast/CI_cleanup

Splitting CI tests for better result handling in README. Added anothe…
pull/23/head
Thorsten Sick 2 years ago committed by GitHub
commit 497ea00dc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,28 @@
name: Develop
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: [ 3.9 ]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install Tox and any other packages
run: pip install tox
- name: Run check
run: make check

@ -1,10 +1,10 @@
name: Makefile CI name: Main
on: on:
push: push:
branches: [ main, develop ] branches: [ main ]
pull_request: pull_request:
branches: [ main, develop ] branches: [ main ]
jobs: jobs:
build: build:

@ -1,4 +1,5 @@
![main branch test](https://github.com/avast/PurpleDome/actions/workflows/makefile.yml/badge.svg?branch=main) ![main branch test](https://github.com/avast/PurpleDome/actions/workflows/main_by_makefile.yml/badge.svg?branch=main)
![develop branch test](https://github.com/avast/PurpleDome/actions/workflows/develop_by_makefile.yml/badge.svg?branch=develop)
# PurpleDome creates simulated systems which hack each other # PurpleDome creates simulated systems which hack each other
@ -120,20 +121,26 @@ Short:
Branching your own feature branch Branching your own feature branch
```
$ git checkout development $ git checkout development
$ git pull --rebase=preserve $ git pull --rebase=preserve
$ git checkout -b my_feature $ git checkout -b my_feature
```
Do some coding, commit. Do some coding, commit.
Rebase before pushing Rebase before pushing
```
$ git checkout development $ git checkout development
$ git pull --rebase=preserve $ git pull --rebase=preserve
$ git checkout my_feature $ git checkout my_feature
$ git rebase development $ git rebase development
```
Code review will be happening on github. If everything is nice, you should squash the several commits you made into one (so one commit = one feature). This will make code management and debugging a lot simpler when you commit is added to develop and main branches Code review will be happening on github. If everything is nice, you should squash the several commits you made into one (so one commit = one feature). This will make code management and debugging a lot simpler when you commit is added to develop and main branches
.. TODO: git rebase --interactive ```
git push --force git rebase --interactive
git push --force
```
Loading…
Cancel
Save