Skip to content

Commit

Permalink
testing with inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamguys committed Apr 9, 2024
1 parent 4892bd6 commit 3e8e228
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
push:
branches:
- 'feature/*'
- main
pull_request:
workflow_dispatch:
inputs:
Expand All @@ -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:
Expand All @@ -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}}


0 comments on commit 3e8e228

Please sign in to comment.