forked from TrueCloudLab/xk6-frostfs
Vladimir Domnich
89faf927fb
1. Implement reset method that allows to start iteration from beginning of the registry. This allows to revisit objects in scenarios like object deletion. 2. Add filter structure that allows to select objects based on age. Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
34 lines
621 B
YAML
34 lines
621 B
YAML
name: Tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
types: [opened, synchronize]
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v2
|
|
with:
|
|
version: latest
|
|
args: --timeout=2m
|
|
|
|
tests:
|
|
name: Tests
|
|
runs-on: ubuntu-20.04
|
|
strategy:
|
|
matrix:
|
|
go_versions: [ '1.17', '1.18', '1.19' ]
|
|
fail-fast: false
|
|
steps:
|
|
- uses: actions/checkout@v3
|