Skip to content

Commit

Permalink
Fix update_galata_references github action (#545)
Browse files Browse the repository at this point in the history
* Fix update_galata_references github action

* Correct checkout command
  • Loading branch information
ianthomas23 authored Jan 29, 2024
1 parent 0984f7d commit 1d304ac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/update_galata_references.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: React to the triggering comment
run: |
gh api repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions --raw-field 'content=+1'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Configure git to use https
run: git config --global hub.protocol https

- name: Checkout the branch from the PR that triggered the job
run: hub pr checkout ${{ github.event.issue.number }}
run: gh pr checkout ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -37,7 +40,8 @@ jobs:
with:
environment-file: dev-environment.yml
create-args: >-
python=3.9
python=3.11
- name: Install ipympl
run: pip install .

Expand All @@ -47,16 +51,6 @@ jobs:
jlpm playwright install chromium
working-directory: ui-tests

- name: Launch JupyterLab
run: jlpm start:detached
working-directory: ui-tests

- name: Wait for JupyterLab
uses: ifaxity/wait-on-action@v1
with:
resource: http-get://localhost:8888/api
timeout: 20000

- name: Generate updated Galata References
run: jlpm test:update
working-directory: ui-tests
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1d304ac

Please sign in to comment.