Skip to content

Commit

Permalink
adds temp test workflow
Browse files Browse the repository at this point in the history
Signed-off-by: anchit-chandran <[email protected]>
  • Loading branch information
anchit-chandran committed Jul 11, 2023
1 parent 04682b9 commit 7435f75
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/test-workflow-temp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Temp workflow to test Pytest Suite

on:
push:
branches:
- "*"
workflow_dispatch:

jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: 'development'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

steps:
- uses: actions/checkout@v3

- name: List all files
run: ls -al

- name: Set up Python version
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install PostGIS dependencies
run: sudo apt-get install -y binutils libproj-dev gdal-bin libgdal-dev python3-gdal

- name: Create and start virtual environment
run: |
python -m venv venv
source venv/bin/activate
# python dependencies
- name: Install dependencies
run: pip install -r requirements.txt

# Run Pytests
- name: Pytest Suite
run: pytest



0 comments on commit 7435f75

Please sign in to comment.