Skip to content

Add test and deploy workflows #3

Add test and deploy workflows

Add test and deploy workflows #3

Workflow file for this run

name: build_test
on:
pull_request:
branches:
- development
jobs:
build:
if: github.ref != 'refs/heads/base' || github.ref != 'refs/heads/development'
runs-on: ubuntu-latest
environment:
name: development
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
- name: Install dependencies
run: pip install tox
- name: Run tests
run: tox