Skip to content

Commit

Permalink
install packages to action
Browse files Browse the repository at this point in the history
  • Loading branch information
TangoYankee committed Apr 5, 2024
1 parent 35c7c15 commit 1d4a793
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/test_update_api_database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,27 @@ jobs:
steps:
- name: check out repo code
uses: actions/checkout@v4

- name: Install prerequisite packages
run: |
apt update
apt install -y wget
apt install -y software-properties-common
- name: Install postgres-client-15
run: |
sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
apt update
apt install -y postgresql-client-15
- name: Install minio client
run: |
wget https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x mc
- name: Install python
run: |
apt install -y python3 python3-pip
pip install -r requirements.txt
- name: Install dbt dependencies
run: |
apt install -y git
dbt deps

0 comments on commit 1d4a793

Please sign in to comment.