mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-25 01:11:00 +00:00
Add test for docker build
This commit is contained in:
parent
8d602a80c3
commit
c42740f6d1
1 changed files with 11 additions and 2 deletions
11
.github/workflows/run-tests.yml
vendored
11
.github/workflows/run-tests.yml
vendored
|
@ -14,7 +14,7 @@ on:
|
|||
|
||||
jobs:
|
||||
|
||||
tests:
|
||||
tests_python:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -44,3 +44,12 @@ jobs:
|
|||
- name: Test with pytest
|
||||
run: pytest -v
|
||||
|
||||
|
||||
test_docker_build:
|
||||
needs: [ tests_python ]
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Docker build
|
||||
run: docker build -t libretranslate .
|
||||
|
|
Loading…
Reference in a new issue