Merge pull request #553 from compserv/update-blackbox-keys #81
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
name: Deployment and end to end tests | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup environment | |
run: bash ./scripts/setup_env.sh hknweb-dev | |
- name: Deploy | |
run: | | |
eval "$(conda shell.bash hook)" | |
conda activate hknweb-dev | |
fab deploy | |
- name: End to end tests | |
run: | | |
eval "$(conda shell.bash hook)" | |
curl -f localhost:8000 |