diff --git a/.github/workflows/pgjdbc-driver.yml b/.github/workflows/pgjdbc-driver.yml index 706fb27d..a23c1554 100644 --- a/.github/workflows/pgjdbc-driver.yml +++ b/.github/workflows/pgjdbc-driver.yml @@ -2,8 +2,7 @@ name: pgjdbc driver on: schedule: - - cron: 0 0 * * 1 # weekly on Monday - workflow_dispatch: + - cron: 0 0 1 * * # monthly defaults: run: @@ -17,7 +16,7 @@ jobs: run: | docker run -it -d --network host -p 5432:5432 ghcr.io/alex-dukhno/isomorphicdb echo 'CONTAINER_ID='$(docker ps -q) >> $GITHUB_ENV - - name: checkout impossibl/pgjdbc-ng + - name: checkout pgjdbc/pgjdbc repository uses: actions/checkout@v2 with: repository: 'pgjdbc/pgjdbc' diff --git a/.github/workflows/pgjdbc-ng-driver.yml b/.github/workflows/pgjdbc-ng-driver.yml index c8cceac3..13c3d9a8 100644 --- a/.github/workflows/pgjdbc-ng-driver.yml +++ b/.github/workflows/pgjdbc-ng-driver.yml @@ -16,7 +16,7 @@ jobs: run: | docker run -it -d --network host -p 5432:5432 ghcr.io/alex-dukhno/isomorphicdb echo 'CONTAINER_ID='$(docker ps -q) >> $GITHUB_ENV - - name: checkout impossibl/pgjdbc-ng + - name: checkout impossibl/pgjdbc-ng repository uses: actions/checkout@v2 with: repository: 'impossibl/pgjdbc-ng' diff --git a/.github/workflows/psycopg2.yml b/.github/workflows/psycopg2.yml deleted file mode 100644 index 03f2b5fb..00000000 --- a/.github/workflows/psycopg2.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: psycopg2 driver - -on: - schedule: - - cron: 0 0 * * 1 # weekly on Monday - workflow_dispatch: - -defaults: - run: - shell: bash - -jobs: - pgjdbc-pgjdbc-driver: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [ 2.7, 3.5, 3.6, 3.7, 3.8 ] - steps: - - name: start IsomorphicDB docker container - run: | - docker run -it -d --network host -p 5432:5432 ghcr.io/alex-dukhno/isomorphicdb - echo 'CONTAINER_ID='$(docker ps -q) >> $GITHUB_ENV - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install psycopg2 - - name: run pgjdbc test suite - run: python -c "import tests; tests.unittest.main(defaultTest='tests.test_suite')" --verbose - - name: stop IsomorphicDB docker container - run: docker stop ${{ env.CONTAINER_ID }}