diff --git a/.github/workflows/test_update_api_database.yml b/.github/workflows/test_update_api_database.yml index 00a61c8..0659a6a 100644 --- a/.github/workflows/test_update_api_database.yml +++ b/.github/workflows/test_update_api_database.yml @@ -21,25 +21,25 @@ jobs: uses: actions/checkout@v4 - name: Install prerequisite packages run: | - apt update - apt install -y wget - apt install -y software-properties-common + sudo apt update + sudo apt install -y wget + sudo 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 + sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' + sudo wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - + sudo apt update + sudo 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 + sudo wget https://dl.min.io/client/mc/release/linux-amd64/mc + sudo chmod +x mc - name: Install python run: | - apt install -y python3 python3-pip + sudo apt install -y python3 python3-pip pip install -r requirements.txt - name: Install dbt dependencies run: | - apt install -y git + sudo apt install -y git dbt deps \ No newline at end of file