Bump the version-bumps group across 1 directory with 7 updates #2675
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
name: Test | |
on: [push, pull_request] | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
key: "test" | |
- name: Install build deps | |
run: | | |
sudo apt-get install openssh-client expect | |
cargo install just | |
cargo install cargo-llvm-cov | |
cargo clean | |
rustup component add llvm-tools-preview | |
- name: Build UI | |
run: | | |
just yarn --network-timeout 1000000000 | |
just openapi | |
just yarn openapi:tests-sdk | |
just yarn build | |
- name: Build images | |
working-directory: tests | |
run: | | |
make all | |
- name: Install deps | |
working-directory: tests | |
run: | | |
sudo apt install -y gnome-keyring | |
pip3 install keyring==24 poetry==1.8.3 | |
poetry install | |
- name: Run | |
working-directory: tests | |
run: | | |
TIMEOUT=120 poetry run ./run.sh | |
cargo llvm-cov report --lcov > coverage.lcov | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
if: github.repository_owner == 'warp-tech' && github.actor != 'dependabot[bot]' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |