Skip to content

Commit

Permalink
Base version of github action with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Cichocki committed Dec 20, 2023
1 parent 88705a9 commit 7eccd59
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: python

on:
push:
branches: [ "feat/ci" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3
with:
python-version: "3.11"

- name: Install deps
run: |
pip install -r requirements.txt
pip install -r test-requirements.txt
- name: Tests
run: pytest tests/
env:
BASIC_AUTH_USERNAME: ${{ secrets.BASIC_AUTH_USERNAME }}
BASIC_AUTH_PASSWORD: ${{ secrets.BASIC_AUTH_PASSWORD }}
SUBDOMAIN: ${{ secrets.SUBDOMAIN }}
DOMAIN: ${{ secrets.DOMAIN }}

0 comments on commit 7eccd59

Please sign in to comment.