Skip to content

Commit

Permalink
Disable test (Temp)
Browse files Browse the repository at this point in the history
  • Loading branch information
fvergaracl committed Mar 11, 2024
1 parent f155347 commit 336882b
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
name: pytest
# name: pytest

on:
push:
branches:
- main
# on:
# push:
# branches:
# - main

jobs:
test:
runs-on: ubuntu-latest
env:
ENV: test
DB_USER: test
DB_PASSWORD: test
DB_HOST: localhost
DB_PORT: 5432
DB: postgresql
strategy:
matrix:
python-version: ["3.10"]
services:
postgres:
image: postgres:14
env:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRES_DB: test_game_dev_db
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
# jobs:
# test:
# runs-on: ubuntu-latest
# env:
# ENV: test
# DB_USER: test
# DB_PASSWORD: test
# DB_HOST: localhost
# DB_PORT: 5432
# DB: postgresql
# strategy:
# matrix:
# python-version: ["3.10"]
# services:
# postgres:
# image: postgres:14
# env:
# POSTGRES_USER: test
# POSTGRES_PASSWORD: test
# POSTGRES_DB: test_game_dev_db
# ports:
# - 5432:5432
# options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

steps:
- uses: actions/checkout@v3
# steps:
# - uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: pip install -r requirements.txt
# - name: Install dependencies
# run: pip install -r requirements.txt

- name: pytest
run: pytest
# - name: pytest
# run: pytest

0 comments on commit 336882b

Please sign in to comment.