Skip to content

change ubuntu:24.02 to ubuntu-latest #23

change ubuntu:24.02 to ubuntu-latest

change ubuntu:24.02 to ubuntu-latest #23

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-latest
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