We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017a06c commit 8899eeeCopy full SHA for 8899eee
1 file changed
.github/workflows/docker-image.yml
@@ -0,0 +1,27 @@
1
+name: Docker Image CI
2
+
3
+on:
4
+ push:
5
+ branches: [ development ]
6
+ pull_request:
7
8
9
+jobs:
10
11
+ build:
12
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - name: Update the environment files
18
+ run: |
19
+ echo "MATHPIX_APP_KEY=${{ secrets.MATHPIX_APP_KEY }}" >> mathpix-variables.env
20
+ echo "MATHPIX_APP_ID=${{ secrets.MATHPIX_APP_ID }}" >> mathpix-variables.env
21
+ - name: Build the Docker image
22
23
+ docker-compose build
24
+ - name: Run the test suite
25
26
+ docker-compose run flask bash -c "cd /app/flask/flaskapp && python -m pytest"
27
0 commit comments