Skip to content

handle file management 3 #27

handle file management 3

handle file management 3 #27

name: Docker and Pytest Workflow
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build Docker image
run: docker build -t vitefast:latest .
- name: Run Pytest in /src directory
run: docker run --rm vitefast:latest /bin/sh -c "cd src && poetry run python -m pytest ."