diff options
author | Graham Dumpleton <Graham.Dumpleton@gmail.com> | 2021-08-02 17:36:07 +1000 |
---|---|---|
committer | Graham Dumpleton <Graham.Dumpleton@gmail.com> | 2021-08-02 17:36:07 +1000 |
commit | b0c349b98d35d292fec521fdf776b0c2272277f8 (patch) | |
tree | b1a5dc85c441060a7bfce43bfa295326db01cd36 | |
parent | 85ecec827484f1fddf41c944655d4a40c9a6c7c5 (diff) | |
download | mod_wsgi-b0c349b98d35d292fec521fdf776b0c2272277f8.tar.gz |
Add test of mod_wsgi-standalone.
-rw-r--r-- | .github/workflows/main.yml | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 27ef665..2ba3f21 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,11 +22,8 @@ jobs: - name: "Store built packages" uses: actions/upload-artifact@v2 with: - name: files - path: | - dist/* - scripts/* - tests/* + name: dist + path: dist/* tests: name: "Test mod_wsgi package (Python ${{ matrix.python-version }})" @@ -38,24 +35,30 @@ jobs: matrix: python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10-dev"] steps: + - uses: "actions/checkout@v2" - uses: "actions/setup-python@v2" with: python-version: "${{ matrix.python-version }}" - name: "Download built packages" uses: actions/download-artifact@v2 with: - name: files - path: | - dist - scripts - tests + name: dist + path: dist - name: "Install Apache package" run: sudo apt install -y apache2-dev - name: "Update pip installation" run: python -m pip install --upgrade pip setuptools wheel - - name: "Install mod_wsgi-express" + - name: "Install mod_wsgi" + run: python -m pip install --verbose dist/mod_wsgi-[0-9].*.tar.gz + - name: "Run mod_wsgi-express test #1" + run: scripts/run-single-test.sh + - name: "Uninstall mod_wsgi" + run: pip uninstall mod_wsgi + - name: "Install mod_wsgi-standalone" run: python -m pip install --verbose dist/mod_wsgi-[0-9].*.tar.gz - - name: "Run mod_wsgi-express test" + - name: "Run mod_wsgi-express test #2" run: scripts/run-single-test.sh + - name: "Uninstall mod_wsgi-standalone" + run: pip uninstall mod_wsgi-standalone - name: "Verify configure/make/make install" run: ./configure && make && sudo make install |