forked from plone/guillotina_s3storage
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 818 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: guillotina_s3storage
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8,3.9]
services:
# Label used to access the service container
localstack:
# Docker Hub image
image: localstack/localstack
ports:
- 4566:4566
env:
SERVICES: s3
steps:
# Checkout the repository first
- uses: actions/checkout@v2
# Setup the python version
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
# Linters and typing
- name: Pre-checks
run: |
make pre-checks
# Run tests
- name: Run tests
run: |
make tests