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

Bump certifi from 2022.5.18.1 to 2023.7.22 in /theatre #41

Bump certifi from 2022.5.18.1 to 2023.7.22 in /theatre

Bump certifi from 2022.5.18.1 to 2023.7.22 in /theatre #41

Workflow file for this run

name: Docker tests
on:
workflow_dispatch:
push:
# trigger only on main branch
branches:
- main
# trigger only on changes to the following files
paths:
- "theatre/src/**"
- "theatre/tests/**"
- "theatre/poetry.lock"
- "theatre/pyproject.toml"
- "environment.yml"
- "requirements.txt"
- "Dockerfile"
- ".github/workflows/test-docker.yml"
pull_request:
# trigger only on main branch
branches:
- main
# trigger only on changes to the following files
paths:
- "theatre/src/**"
- "theatre/tests/**"
- "theatre/poetry.lock"
- "theatre/pyproject.toml"
- "environment.yml"
- "requirements.txt"
- "Dockerfile"
- ".github/workflows/test-docker.yml"
jobs:
test-docker:
name: Run tests inside Docker container
runs-on: ubuntu-latest
steps:
- # get repository code
name: Checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build the image
uses: docker/build-push-action@v2
with:
context: .
target: test
load: true
tags: theatre:test
cache-from: type=gha, scope=${{ github.workflow }}
cache-to: type=gha, mode=max, scope=${{ github.workflow }}
- name: Run tests
run: docker run --rm theatre:test