Skip to content

Commit

Permalink
need to cd /urbanstats
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Brody committed Aug 13, 2024
1 parent a02318b commit 4490067
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on: [push]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}/e2e
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
lint:
runs-on: ubuntu-22.04
Expand Down
5 changes: 2 additions & 3 deletions test-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@

set -e

# env:
# BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
cd /urbanstats

pushd ../density-db
git fetch --depth 1 origin # cloned in docker
git checkout origin
git checkout origin/$BRANCH_NAME || true # Checkout the same branch name on the remote, if it exists
git checkout origin/$BRANCH_NAME || true # Checkout the same branch name on the remote, if it exists. BRANCH_NAME defined in workflow env

python3 -m http.server &

Expand Down

0 comments on commit 4490067

Please sign in to comment.