Skip to content

Commit

Permalink
Setup GitHub workflow for running pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
suutari-ai committed Dec 19, 2024
1 parent eba5c58 commit 7d42b36
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Tests

on:
push:
branches:
- main
- test
pull_request:
branches:
- main

jobs:
build-and-test:
runs-on: ubuntu-latest

services:
docker:
memory: 2G

steps:
- uses: actions/checkout@v2

- name: Build
run: docker-compose build

- name: Start
run: docker-compose up -d

- name: Test
run: docker-compose exec web pytest -v

0 comments on commit 7d42b36

Please sign in to comment.