Skip to content

Commit

Permalink
Merge pull request #14 from aleksandr-kotlyar/github-workflow-2
Browse files Browse the repository at this point in the history
Integrate pytest project with github actions workflow at main.yml; Used docker image from github public package. Continue-on-error: true.
  • Loading branch information
aleksandr-kotlyar authored Nov 7, 2020
2 parents fa12894 + 2fa0eb6 commit 8917cb2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
[push]

jobs:
pytest:
name: Pytest
runs-on: ubuntu-latest
container:
image: docker.pkg.github.com/aleksandr-kotlyar/python_and_gitlab/python-3.7.6-alpine-req:ver-14-mimesis-4.1.2
credentials:
username: ${{ github.actor }}
password: ${{ secrets.damngoodsecret }}
steps:
- uses: actions/checkout@v2
- run: pytest src/test/test_api.py
continue-on-error: true

0 comments on commit 8917cb2

Please sign in to comment.