Skip to content

TEMP FIX deploy pages from docs dir. WIP to deploy using git actions #5

TEMP FIX deploy pages from docs dir. WIP to deploy using git actions

TEMP FIX deploy pages from docs dir. WIP to deploy using git actions #5

Workflow file for this run

name: Run Tests
env:
ENV_FILE: environment.yml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
branches:
- main
- sg_docs
pull_request:
branches:
- main
- sg_docs
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Activate Conda Environment
uses: ./.github/actions/setup-conda
with:
environment-file: ${{ env.ENV_FILE }}
activate-environment: test
- name: Run pytest
run: |
pytest
shell: bash -el {0}
- name: Publish Test Results
uses: actions/upload-artifact@v4
with:
name: Test results
path: test-data.xml