-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: anchit-chandran <[email protected]>
- Loading branch information
1 parent
04682b9
commit 7435f75
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
||
|