Merge pull request #9 from onna/fix-exists #74
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: 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 |