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 c51421e
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 20 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"
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ clean:
rm -f $(E2E_TEST_DIR)/*.synctex.gz $(E2E_TEST_DIR)/**/*.synctex.gz
rm -f $(E2E_TEST_DIR)/*.bbl $(E2E_TEST_DIR)/**/*.bbl
rm -f $(E2E_TEST_DIR)/*.blg $(E2E_TEST_DIR)/**/*.blg
rm -rf $(E2E_TEST_DIR)/__pycache__ $(E2E_TEST_DIR)/**/__pycache__

# --------------------------------------------------------------------------------------------------
# Releasing.
Expand Down
14 changes: 0 additions & 14 deletions e2e/README.md

This file was deleted.

2 changes: 2 additions & 0 deletions scripts/install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ function make_unit_test() {
function make_e2e_test() {
local TARGET_DIR="${1:-.}"

make_compile ${TARGET_DIR}
apt-get update && apt-get install -y \
git \
python3
pip3 install pip PyYAML
}

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

0 comments on commit c51421e

Please sign in to comment.