Bump the version-bumps group across 1 directory with 4 updates #2550
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 admin UI | |
run: | | |
just yarn --network-timeout 1000000000 | |
just openapi | |
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==23.8.2 poetry==1.1.14 | |
poetry install | |
- name: Run | |
working-directory: tests | |
run: | | |
TIMEOUT=120 poetry run ./run.sh | |
cargo llvm-cov --no-run --hide-instantiations --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 }} |