From 8e3acd84f2249a7450c0635e227c180d0ca734cd Mon Sep 17 00:00:00 2001 From: Dragan Filipovic Date: Thu, 29 Dec 2022 15:46:56 +0100 Subject: [PATCH] start e2e --- .github/workflows/example.yml | 34 ++++++++++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/example.yml diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml new file mode 100644 index 0000000..be40520 --- /dev/null +++ b/.github/workflows/example.yml @@ -0,0 +1,34 @@ +name: e2e Test + +on: + push: + branches: + - main + +env: + TEST_PROJECT: ./test_project + + +jobs: + host: + + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ ubuntu-latest ] + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Create ssh keys + run: | + ssh-keygen -m PEM -t rsa -b 4096 + shell: bash + - name: Create project file + run: | + mkdir $TEST_PROJECT && cd $TEST_PROJECT + touch index.html + date +"%Y-%m-%d %H:%M:%S,%3N" >> index.html + cat index.html + shell: bash diff --git a/.gitignore b/.gitignore index dea9f6a..08910a6 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ node_modules/ # IDE .idea +.vscode