Skip to content

Commit

Permalink
fix: start clickhouse service before workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andyhuang18 committed Dec 2, 2024
1 parent 77b77e6 commit 0cb19bc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/updateCompanyData.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Start ClickHouse service
run: |
docker run -d --name clickhouse-server --ulimit nofile=262144:262144 -p 9000:9000 clickhouse/clickhouse-server
sleep 10
- name: Verify ClickHouse service
run: |
echo "SELECT 1" | clickhouse-client --host=localhost
- name: Run the Python script
run: |
cd dashboard/company/scripts
Expand Down

0 comments on commit 0cb19bc

Please sign in to comment.