Bump nanoid from 3.3.7 to 3.3.8 in /web in the npm_and_yarn group #2888
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: Turbinia Test Run | |
on: [push, pull_request] | |
jobs: | |
install-n-test: | |
name: Install Turbinia dependencies and run tests. | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: | |
- ubuntu-24.04 | |
gift_ppa_track: ["staging", "stable"] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Buid Turbinia Unit Tests Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
file: docker/tests/Dockerfile | |
context: . | |
build-args: | | |
"PPA_TRACK=${{ matrix.gift_ppa_track }}" | |
load: true | |
tags: turbinia-unit-tests | |
cache-from: type=gha,scope=unittests | |
cache-to: type=gha,mode=max,scope=unittests | |
- name: Run test (turbinia-unit-tests) container | |
run: | | |
docker run --name turbinia-unit-tests --entrypoint "/bin/bash" -it -d -t turbinia-unit-tests:latest | |
- name: Configure python3 | |
run: | | |
docker exec -u root -t turbinia-unit-tests bash -c "update-alternatives --install /usr/bin/python python /usr/bin/python3 1" | |
docker exec -u root -t turbinia-unit-tests bash -c "/usr/bin/python -V" | |
- name: Run Tests | |
run: | | |
docker exec -u root -t turbinia-unit-tests bash -c "poetry run ./run_tests.py" | |
docker exec -u root -t turbinia-unit-tests bash -c "tox --sitepackages ${TOXENV}" |