Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #5680
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run the system integration tests | |
name: Integration | |
on: [ push, pull_request ] | |
jobs: | |
main: | |
name: Integration | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
path: agora | |
# For Codecov | |
fetch-depth: 2 | |
submodules: recursive | |
- name: Prepare compiler | |
uses: dlang-community/setup-dlang@v1 | |
with: | |
compiler: ldc-latest | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libsodium-dev libsqlite3-dev clang | |
- name: Checkout faucet | |
uses: actions/checkout@v2 | |
with: | |
path: faucet | |
repository: bosagora/faucet | |
submodules: true | |
- name: Update Faucet submodule to point to our clone | |
run: | | |
cd ${{ github.workspace }}/faucet/ | |
git -C submodules/agora fetch origin ${{ github.sha }}:agora-ci-integration-test-donotuse | |
git -C submodules/agora checkout agora-ci-integration-test-donotuse | |
git -C submodules/agora submodule update --recursive --init | |
# For debug output | |
git submodule | |
- name: Build Faucet | |
run: | | |
cd ${{ github.workspace }}/faucet/ | |
docker build -t bosagora/faucet ${{ github.workspace }}/faucet/ | |
- name: Test | |
run: | | |
cd ${{ github.workspace }}/agora/ | |
./ci/system_integration_test.d | |
- name: Change permission on lst files | |
run: | | |
# Work around druntime setting the permissions to 600.. | |
# Need to iterate on the directory to avoid 'list arguments too long' | |
cd ${{ github.workspace }}/agora/ | |
for file in $(find tests/system/node/ -name '*.lst'); do | |
sudo chmod 644 $file | |
done | |
- name: 'Upload code coverage' | |
uses: codecov/codecov-action@v1 | |
with: | |
flags: integration |