Skip to content

Commit

Permalink
added github action for testing on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyal Ben Ivri committed Jul 29, 2024
1 parent 11135e3 commit 381f9ae
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Python package

on:
pull_request:
branches:
- cloud-run
- main

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: Test App Code
run: |
pytest -v
pytest

0 comments on commit 381f9ae

Please sign in to comment.