Add lifecycle date when object with lifecycle status is created (#438) #143
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 | |
on: | |
pull_request: | |
branches: | |
- "main" | |
push: | |
branches: | |
- "main" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test_functions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: pip install -r requirements.txt -r requirements-dev.txt | |
- name: Copy .env file | |
run: cp .env.dev .env | |
- name: Create debug directory | |
run: mkdir database/ryhti_debug | |
- name: Test | |
run: python -m pytest | |
working-directory: database | |
env: | |
SYKE_APIKEY: ${{ secrets.SYKE_APIKEY }} |