From 4b1be95102ace280a5a6654c557d209c9a69107e Mon Sep 17 00:00:00 2001 From: Q_back Date: Tue, 16 Jun 2020 20:30:05 +0200 Subject: [PATCH] added github test action --- .github/workflows/tests.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000000..1d8dd076bc --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,33 @@ +# This is tests workflow for GitHub Actions + +name: Tests + +on: + push: + branches: [ master, develop ] + pull_request: + branches: [ master, develop ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + build: + runs-on: ubuntu-18.04 + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + - name: Run w3af + run: ./w3af_console + + - name: install deps + run: /tmp/w3af_dependency_install.sh + + + test: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + + # Runs a set of commands using the runners shell + - name: Run tests + run: pytest