Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxiaoying committed May 9, 2024
1 parent 1acc70a commit 48b1571
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,6 @@ jobs:
--health-interval 10s
--health-timeout 10s
--health-retries 5
# mssql:
# image: mcr.microsoft.com/mssql/server:2019-latest
# env:
# ACCEPT_EULA: y
# SA_PASSWORD: mssql!Password
# ports:
# - 1433:1433
# options: >-
# --health-cmd "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P \"$SA_PASSWORD\" -Q 'SELECT 1' || exit 1"
# --health-interval 10s
# --health-timeout 5s
# --health-retries 20
steps:
- uses: actions/checkout@v4
Expand All @@ -190,8 +178,6 @@ jobs:
apt-get install -y python${{ matrix.python-version }} python${{ matrix.python-version }}-distutils wget curl postgresql-client build-essential pkg-config libssl-dev git sqlite3 libsqlite3-dev mysql-client libmysqlclient-dev libicu66 libkrb5-dev libclang-dev
ln -s `which python${{ matrix.python-version }}` /usr/bin/python
wget -qO- https://bootstrap.pypa.io/get-pip.py | python
# python -m pip install mssql-cli
# python -m pip install cli-helpers==2.2.0
env:
DEBIAN_FRONTEND: noninteractive

Expand Down Expand Up @@ -219,7 +205,7 @@ jobs:

- name: Install other dependent tools
run: |
python -m pip install poetry
python -m pip install poetry six
if [ ! -f "$HOME/.cargo/bin/just" ]; then curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to ~/.cargo/bin; fi
- name: Seed the database
Expand All @@ -232,11 +218,6 @@ jobs:
MYSQL_DB: mysql
MYSQL_USER: root
MYSQL_PASSWORD: mysql
# MSSQL_HOST: mssql
# MSSQL_PORT: 1433
# MSSQL_DB: tempdb
# MSSQL_USER: sa
# MSSQL_PASSWORD: mssql!Password

- name: Clippy linting
uses: actions-rs/cargo@v1
Expand All @@ -259,7 +240,6 @@ jobs:
POSTGRES_URL: "postgresql://postgres:postgres@postgres:5432/postgres"
SQLITE_URL: "sqlite:///tmp/test.db"
MYSQL_URL: "mysql://root:mysql@mysql:3306/mysql"
# MSSQL_URL: "mssql://sa:mssql!Password@mssql:1433/tempdb"
DB1: "postgresql://postgres:postgres@postgres:5432/postgres"
DB2: "postgresql://postgres:postgres@postgres:5432/postgres"
FED_CONFIG_PATH: ${{ github.workspace }}/.github/config
Expand Down

0 comments on commit 48b1571

Please sign in to comment.