Skip to content

Commit

Permalink
Develop (#30)
Browse files Browse the repository at this point in the history
### To be filled by the PR creator:

* A brief description of the changes made - 

* Do we have clean latest run report attached with this PR?
  * [ ] Yes
  * [ ] No (Please explain why)

* Does the PR contain changes to any BP core file?
  * [ ] Yes (Needs approval from at least 2 people)
  * [ ] No

* Does the PR contain changes to modules shared with other teams?
* [ ] Yes (Needs approval from at least one of the other teams that use
the module)
  * [ ] No

* Is it
  * [ ] New Testcase
  * [ ] Fix


### To be filled by the PR reviewer:

* [ ] Verify the attached run report passed in GitHub Actions (Justify
if local run)

* General
    * [ ] Use the best strategy to locate the elements
    * [ ] Comments wherever the code is not readable by itself
    * [ ] Use of the right data structure for the use case
    * [ ] Reuse logic/functionality as much as possible
    * [ ] Cleanup of any test data that is generated by the tests
    * [ ] No static waits
  • Loading branch information
Tauqir Sarwar authored Mar 18, 2024
2 parents 05b875c + f4db6a6 commit 200ce69
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docker_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ env:
BASE_URL: https://opensource-demo.orangehrmlive.com
HRM_USER_NAME: ${{ secrets.HRM_USER_NAME }}
HRM_PASSWORD: ${{ secrets.HRM_PASSWORD }}
PROJECT_LOCATION: ${{ github.workspace }}
USING_DOCKER: True


on:
schedule:
- cron: '30 22 * * *'
Expand Down Expand Up @@ -78,6 +80,9 @@ jobs:
with:
python-version: "3.9"

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker
id: docker_env_setup
if: steps.validate_input.outcome == 'success'
Expand All @@ -87,7 +92,7 @@ jobs:
id: docker_compose
if: steps.docker_env_setup.outcome == 'success'
run: |
docker-compose -f docker-compose.yml up -d
docker-compose -f '/home/runner/work/docker-compose.yaml' up -d
- name: Wait for services to start
run: sleep 30
Expand Down Expand Up @@ -162,7 +167,7 @@ jobs:
id: docker_compose
if: steps.docker_env_setup.outcome == 'success'
run: |
docker-compose -f ./configs/docker-compose.yml up -d
sudo docker compose --file docker-compose.yaml up -d
- name: Wait for services to start
run: sleep 30
Expand Down
1 change: 0 additions & 1 deletion configs/docker-compose.yml → docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# To execute this docker-compose yml file use `docker-compose -f docker-compose.yml up`
# Add the `-d` flag at the end for detached execution
# To stop the execution, hit Ctrl+C, and then `docker-compose -f docker-compose.yml down`
version: "3"
services:
chrome:
image: selenium/node-chrome:4.18.0-20240220
Expand Down

0 comments on commit 200ce69

Please sign in to comment.