From cdb94e5cd6b6fb4b01b785341f41155ed374f14c Mon Sep 17 00:00:00 2001 From: eakmanrq <6326532+eakmanrq@users.noreply.github.com> Date: Fri, 17 May 2024 18:05:50 -0700 Subject: [PATCH] add action workflow --- .github/workflows/main.workflow.yaml | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/main.workflow.yaml diff --git a/.github/workflows/main.workflow.yaml b/.github/workflows/main.workflow.yaml new file mode 100644 index 0000000..b7b35c5 --- /dev/null +++ b/.github/workflows/main.workflow.yaml @@ -0,0 +1,30 @@ +name: SQLFrame +on: + push: + branches: + - main + pull_request: + types: + - synchronize + - opened +jobs: + run-tests: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.8, 3.9, 3.10, 3.11, 3.12] + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Install Python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: make install-dev + - name: Run Style + run: make style + - name: Setup Postgres + uses: ikalnytskyi/action-setup-postgres@v6 + - name: Run tests + run: make local-test