Loading .github/workflows/continuous_integration.yml +17 −4 Original line number Diff line number Diff line Loading @@ -14,17 +14,28 @@ jobs: strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] os: [ubuntu-latest] python-version: ["3.7", "3.8", "3.9"] services: postgres: image: postgis/postgis:10-2.5 env: POSTGRES_PASSWORD: NotTheDefault POSTGRES_DB: postgres ports: - 35432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 defaults: run: shell: bash -l {0} steps: - uses: actions/checkout@v2 - uses: conda-incubator/setup-miniconda@v2 - name: Checkout Code uses: actions/checkout@v2 - name: Setup ENV uses: conda-incubator/setup-miniconda@v2 with: miniconda-version: "latest" mamba-verion: "*" mamba-version: "*" use-mamba: true channels: conda-forge, defaults channel-priority: true Loading @@ -34,6 +45,8 @@ jobs: - name: Check build environment run: | conda list - name: Setup Test DB run: psql -c 'create database template_postgis;' -U postgres - name: Install Python Package run: | python setup.py install Loading Loading
.github/workflows/continuous_integration.yml +17 −4 Original line number Diff line number Diff line Loading @@ -14,17 +14,28 @@ jobs: strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] os: [ubuntu-latest] python-version: ["3.7", "3.8", "3.9"] services: postgres: image: postgis/postgis:10-2.5 env: POSTGRES_PASSWORD: NotTheDefault POSTGRES_DB: postgres ports: - 35432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 defaults: run: shell: bash -l {0} steps: - uses: actions/checkout@v2 - uses: conda-incubator/setup-miniconda@v2 - name: Checkout Code uses: actions/checkout@v2 - name: Setup ENV uses: conda-incubator/setup-miniconda@v2 with: miniconda-version: "latest" mamba-verion: "*" mamba-version: "*" use-mamba: true channels: conda-forge, defaults channel-priority: true Loading @@ -34,6 +45,8 @@ jobs: - name: Check build environment run: | conda list - name: Setup Test DB run: psql -c 'create database template_postgis;' -U postgres - name: Install Python Package run: | python setup.py install Loading