BiancaWentzel is doing some smoke tests #359
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: Tests | |
run-name: ${{ github.actor }} is doing some smoke tests | |
on: [push, pull_request, workflow_call] | |
jobs: | |
Smoke-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Create conda env | |
# https://github.com/marketplace/actions/setup-micromamba | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-name: freva-web | |
environment-file: conda-env.yml | |
cache-environment: false | |
cache-downloads: false | |
init-shell: bash | |
- name: Generate self signed certs | |
run: > | |
micromamba run -n freva-web python docker/config/dev-utils.py gen-certs | |
- name: Set up services | |
run: docker compose up -d --remove-orphans | |
- name: Lint js code and python | |
run: micromamba run -n freva-web make lint | |
- name: Run build checks for js and python smoke tests | |
run: micromamba run -n freva-web make tests |