Skip to content

Commit

Permalink
added github test action
Browse files Browse the repository at this point in the history
  • Loading branch information
Q-back committed Jun 16, 2020
1 parent a4b5c6b commit 4b1be95
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4b1be95

Please sign in to comment.