Skip to content

Commit 8917cb2

Browse files
Merge pull request #14 from aleksandr-kotlyar/github-workflow-2
Integrate pytest project with github actions workflow at main.yml; Used docker image from github public package. Continue-on-error: true.
2 parents fa12894 + 2fa0eb6 commit 8917cb2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on:
2+
[push]
3+
4+
jobs:
5+
pytest:
6+
name: Pytest
7+
runs-on: ubuntu-latest
8+
container:
9+
image: docker.pkg.github.com/aleksandr-kotlyar/python_and_gitlab/python-3.7.6-alpine-req:ver-14-mimesis-4.1.2
10+
credentials:
11+
username: ${{ github.actor }}
12+
password: ${{ secrets.damngoodsecret }}
13+
steps:
14+
- uses: actions/checkout@v2
15+
- run: pytest src/test/test_api.py
16+
continue-on-error: true

0 commit comments

Comments
 (0)