Skip to content

fix(deps) Update all non-major dependencies #1608

fix(deps) Update all non-major dependencies

fix(deps) Update all non-major dependencies #1608

Workflow file for this run

name: test
on:
push:
pull_request:
jobs:
test:
name: python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.7, 3.8, 3.9, '3.10']
fail-fast: true
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: '5.0'
- name: Start MemCache
uses: niden/actions-memcached@v7
- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: 6
- name: Configure sysctl limits for elasticsearch
run: |
sudo swapoff -a
sudo sysctl -w vm.swappiness=1
sudo sysctl -w fs.file-max=262144
sudo sysctl -w vm.max_map_count=262144
- name: Start elasticsearch
uses: getong/[email protected]
with:
elasticsearch version: 8.3.3
host port: 9200
container port: 9200
host node port: 9300
node port: 9300
discovery type: single-node
- name: setup poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.2.2
- name: install deps
run: poetry install
- name: test
run: poetry run tox -e test
- name: upload cov
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
verbose: true