Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Try to fix python versions #78

Try to fix python versions

Try to fix python versions #78

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.11
- run: pip install poetry
- name: Set Poetry config
run: poetry config virtualenvs.path ~/.virtualenvs
- name: Cache Poetry
uses: actions/cache@v1
id: cache
with:
path: ~/.virtualenvs
key: poetry-toolkit-${{ hashFiles('**/poetry.lock') }}-v2
- name: Install deps
run: poetry install
- name: Unit tests
run: poetry run task test
env:
IDENTITY_SECRET: 'secret'
PASTAPORTO_SECRET: 'secret'
SERVICE_TO_SERVICE_SECRET: 'secret'
PASTAPORTO_ACTION_SECRET: 'secret'