Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] fixing tests #1218

Merged
merged 17 commits into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: OWTF CI

on:
push:
branches: [master, develop]
pull_request_target:
branches: [master, develop]

workflow_dispatch:
branches:
- develop
pull_request:
branches:
- develop

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

strategy:
matrix:
Expand All @@ -21,7 +21,7 @@ jobs:
image: postgres
env:
POSTGRES_USER: owtf_db_user
POSTGRES_PASSWORD: jgZKW33Q+HZk8rqylZxaPg1lbuNGHJhgzsq3gBKV32g=
POSTGRES_PASSWORD: ${{ secrets.OWTF_DB_PASSWORD }}
POSTGRES_DB: owtf_db
ports:
- 5432:5432
Expand Down Expand Up @@ -81,9 +81,10 @@ jobs:
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432

- name: node_js
working-directory: owtf/webapp
run: yarn test
# - name: node_js
# if: "!contains(github.event.commits[0].message, '[skip ui-tests]')"
# working-directory: owtf/webapp
# run: yarn install --production=false && yarn test

- name: slack - GitHub Actions Slack integration
uses: act10ns/slack@v1.2.2
Expand Down
6 changes: 2 additions & 4 deletions docs/docs-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ cookies==2.2.1
dnspython==1.15.0
future==0.16.0
hrt==0.1.0
# Here till they upload a Python3 compatible version of the library
-e git+https://github.com/google/ipaddr-py#egg=ipaddr
ipaddr
Markdown==2.6.9
pexpect==4.2.1
psutil==5.6.6
psycopg2==2.7.4
PTP==0.4.2
owtf_ptp==0.4.3
pyOpenSSL==17.2.0
PyVirtualDisplay==0.2.1
pyyaml==5.4
requests==2.18.4
selenium==3.4.3
Expand Down
1 change: 1 addition & 0 deletions owtf/webapp/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"presets": [
"@babel/preset-react",
"@babel/preset-env",
"@babel/preset-typescript"
],
"plugins": [
"emotion",
Expand Down
Loading