Merge pull request #4 from Ujstor/jenkins #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
environment: | |
name: testing | |
env: | |
ID: ${{secrets.ID}} | |
SECRET: ${{secrets.SECRET}} | |
KEY: ${{secrets.KEY}} | |
runs-on: ubuntu-latest | |
steps: | |
- name: pulling git repo | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: update pip | |
run: python -m pip install --upgrade pip | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: test with pytest | |
run: pytest |