diff options
author | Alex Grönholm <alex.gronholm@nextday.fi> | 2021-02-25 00:01:32 +0200 |
---|---|---|
committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2021-02-25 00:01:32 +0200 |
commit | 41e1063f4ce708c3790acf640412da385acdbb8f (patch) | |
tree | 47ef4a26c42d4ce54e3d4d9b814a701a0e51e941 /.github/workflows | |
parent | edeba4e8c28fd8fe247adb1f8e5391d95c59f3f2 (diff) | |
download | apscheduler-41e1063f4ce708c3790acf640412da385acdbb8f.tar.gz |
Updated GA workflow to include the needed services
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/codeqa-test.yml | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/.github/workflows/codeqa-test.yml b/.github/workflows/codeqa-test.yml index e78c1e7..d7e6e72 100644 --- a/.github/workflows/codeqa-test.yml +++ b/.github/workflows/codeqa-test.yml @@ -34,11 +34,21 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.7, 3.9.0] - exclude: - - os: macos-latest - python-version: pypy3 - - os: windows-latest - python-version: pypy3 + services: + postgres: + image: postgres + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: secret + POSTGRES_DB: testdb + ports: + - 5432:5432 + # needed because the postgres container does not provide a healthcheck + options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + mongodb: + image: mongo + ports: + - 27017:27017 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -47,6 +57,6 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install the project and its dependencies - run: pip install -e .[test,postgresql,mongodb] + run: pip install -e .[test,cbor,postgresql,mongodb] - name: Test with pytest run: pytest |