Skip to content

Fix Booking View with daylight savings #96

Fix Booking View with daylight savings

Fix Booking View with daylight savings #96

Workflow file for this run

# This workflow will install backend's requirements and run tests
name: Run Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
cd ./backend
python -m pip install --upgrade pip
python -m pip install .'[test]'
- name: Test with pytest
run: |
cd ./backend && python -m pytest
vitest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: 'frontend/yarn.lock'
- name: Install dependencies
run: |
cd ./frontend
yarn install
- name: Test with vitest
run: |
cd ./frontend && yarn test --run