Skip to content

Reproduction 2

Reproduction 2 #588

Workflow file for this run

name: Test Setup Python with Cache
on:
push:
branches:
- issue-1021
jobs:
Job-A:
runs-on: ubuntu-latest
steps:
- name: Check out repository code 🕵🏻‍♀️
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10.10'
cache: 'pip'
- name: Run Mypy
run: |
pip install -r backend/requirements/linter-requirements.txt
# mypy --config backend/mypy.ini backend
Job-B:
needs: Job-A
runs-on: ubuntu-latest
services:
postgresql:
image: postgres:latest
ports:
- 5432:5432
steps:
- name: Check out repository code 🕵🏻‍♀️
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10.10'
cache: 'pip'
- name: Install newly added packages
run: |
pip install -r backend/requirements/requirements.txt
pip install -r backend/requirements/dev-requirements.txt