Skip to content

rewrite github actions to build docker instead #22

rewrite github actions to build docker instead

rewrite github actions to build docker instead #22

Workflow file for this run

name: GitHub Actions Docker Build and Test
on:
push:
branches:
- main # run tests when pushing to the main branch
pull_request:
branches:
- main # run tests when a pull request targets the main branch
jobs:
docker-test:
runs-on: ubuntu:24.02
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker
uses: docker/setup-buildx-action@v2
- name: Build Docker image
run: docker build -t reproducible_dl .
- name: Run tests inside Docker container
run: docker run --rm -it reproducible_dl pytest