Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Run apt update before apt install #163

Merged
merged 1 commit into from Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/deploy_cookbooks.yml
Expand Up @@ -16,7 +16,9 @@ jobs:
- name: Setup pandoc
uses: r-lib/actions/setup-pandoc@v1
- name: Install dependencies
run: sudo apt install libcurl4-openssl-dev libssl-dev python3-pip openjdk-11-jdk maven
run: |
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev python3-pip openjdk-11-jdk maven
- name: Run tests
run: make test
- name: Build and render books
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test_java_linux_cookbook.yml
Expand Up @@ -24,7 +24,7 @@ on:
paths:
- "java/**"
- ".github/workflows/test_java_linux_cookbook.yml"

concurrency:
group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
Expand All @@ -40,9 +40,10 @@ jobs:
distribution: 'temurin'
java-version: '11'
- name: Install dependencies
run: sudo apt install libcurl4-openssl-dev libssl-dev python3-pip maven
run: |
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev python3-pip maven
- name: Run tests
run: make javatest
- name: Build cookbook
run: make java

7 changes: 4 additions & 3 deletions .github/workflows/test_python_cookbook.yml
Expand Up @@ -24,7 +24,7 @@ on:
paths:
- "python/**"
- ".github/workflows/test_python_cookbook.yml"

concurrency:
group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
Expand All @@ -36,9 +36,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: sudo apt install libcurl4-openssl-dev libssl-dev python3-pip
run: |
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev python3-pip
- name: Run tests
run: make pytest
- name: Build cookbook
run: make py

5 changes: 3 additions & 2 deletions .github/workflows/test_r_cookbook.yml
Expand Up @@ -40,9 +40,10 @@ jobs:
- name: Setup pandoc
uses: r-lib/actions/setup-pandoc@v1
- name: Install dependencies
run: sudo apt install libcurl4-openssl-dev libssl-dev
run: |
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev
- name: Run tests
run: make rtest
- name: Build cookbooks
run: make r