Skip to content

Commit

Permalink
reverting and ubuntu-22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamguys committed Apr 17, 2024
1 parent 7f94d0e commit 2fa32e8
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/irctc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ on:
description: "Your UPI ID To Make Payment From"
jobs:
IRCTC-Booking:
runs-on: ubuntu-latest
container:
image: cypress/browsers:node-20.9.0-chrome-118.0.5993.88-1-ff-118.0.2-edge-118.0.2088.46-1
options: --user 1001
runs-on: ubuntu-22.04

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
python3 irctc-captcha-solver/app.py "" # python3 irctc-captcha-solver/app.py "" is used for models to load before starting tatkal tickets
Expand All @@ -46,7 +46,10 @@ jobs:
# python3 irctc-captcha-solver/app.py "" is used for models to load before starting tatkal tickets


- name: Install Node.js and npm
uses: actions/setup-node@v4
with:
node-version: '20.12.2'

- name: Running IRCTC Cypress Script
uses: cypress-io/github-action@v6
Expand Down

0 comments on commit 2fa32e8

Please sign in to comment.