Skip to content

Commit

Permalink
Create e2e_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudius Korzen committed Oct 4, 2023
1 parent 52691e7 commit 6002644
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checkstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Install requirements
- name: installing requirements
run: |
sudo make requirements/checkstyle
- name: make checkstyle
- name: checking style
run: |
make checkstyle
17 changes: 17 additions & 0 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: e2e_test

on: push

jobs:
e2e_test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: installing requirements
run: |
sudo make requirements/e2e-test USR_DIR="/usr/local"
- name: running E2E tests
run: |
make e2e-test USR_DIR="/usr/local"
8 changes: 4 additions & 4 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Install requirements
- name: installing requirements
run: |
sudo make requirements/test USR_DIR="/usr/local"
sudo make requirements/unit-test USR_DIR="/usr/local"
- name: make test
- name: running unit tests
run: |
make test USR_DIR="/usr/local"
make unit-test USR_DIR="/usr/local"
7 changes: 4 additions & 3 deletions scripts/install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ function make_unit_test() {
function make_e2e_test() {
local TARGET_DIR="${1:-.}"

apt-get update && apt-get install -y \
git \
python3
make_compile ${TARGET_DIR}
# apt-get update && apt-get install -y \
# git \
# python3
}

# This function installs all requirements needed to execute 'make install'.
Expand Down

0 comments on commit 6002644

Please sign in to comment.