Bump github actions #606
Workflow file for this run
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: tests | |
on: | |
push: | |
branches-ignore: | |
- 'development/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
REINDEX_PYTHON_INTERPRETER: python3 | |
strategy: | |
matrix: | |
command: | |
- yarn run lint_md | |
- yarn run lint | |
- yarn test | |
- bash ./.github/scripts/run_ft_tests.bash false ft_test:client | |
- bash ./.github/scripts/run_ft_tests.bash false ft_test:server | |
- bash ./.github/scripts/run_ft_tests.bash false ft_test:cron | |
- bash ./.github/scripts/run_ft_tests.bash true ft_test:interval | |
services: | |
redis: | |
image: bitnami/redis:6.2 | |
env: | |
ALLOW_EMPTY_PASSWORD: 'yes' | |
ports: | |
- 6379:6379 | |
redis-sentinel: | |
image: bitnami/redis-sentinel:6.2 | |
env: | |
REDIS_MASTER_SET: scality-s3 | |
REDIS_SENTINEL_PORT_NUMBER: '16379' | |
REDIS_SENTINEL_QUORUM: '1' | |
ports: | |
- 16379:16379 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16.13.2' | |
cache: 'yarn' | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
cache: pip | |
- name: Install python deps | |
run: | | |
pip install requests | |
pip install redis | |
- name: install dependencies | |
run: yarn install --frozen-lockfile | |
- run: ${{ matrix.command }} | |
- name: Setup tmate session | |
if: ${{ failure() }} | |
uses: mxschmitt/action-tmate@v3 |