From 3e8e228bc902e0b7b1a634df0d8972cb08f52a9d Mon Sep 17 00:00:00 2001 From: Shivam Pandey Date: Tue, 9 Apr 2024 13:07:21 +0530 Subject: [PATCH] testing with inputs --- .github/workflows/main.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3ddc8e..d6897b1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,6 @@ on: push: branches: - 'feature/*' - - main pull_request: workflow_dispatch: inputs: @@ -24,15 +23,16 @@ jobs: steps: - - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' cache: 'pip' # caching pip dependencies - - run: pip install -r irctc-captcha-solver/requirements.txt - - run: python3 irctc-captcha-solver/app.py "" # python3 irctc-captcha-solver/app.py --image-base-64 "" is used for models to load before starting tatkal tickets - + - run: | + pip install -r irctc-captcha-solver/requirements.txt + python3 irctc-captcha-solver/app.py "" + # python3 irctc-captcha-solver/app.py --image-base-64 "" is used for models to load before starting tatkal tickets + - name: Install Node.js and npm uses: actions/setup-node@v4 with: @@ -44,5 +44,3 @@ jobs: with: browser: chrome command: npx cypress run --record --key 967b25a7-e4dd-4b5b-a143-d799131b2d3b --browser chrome --env USERNAME=${{inputs.USERNAME}},PASSWORD=${{inputs.PASSWORD}} - -