Fix file uploads on localckan #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python-version: ["2.7", "3.8"] | |
runs-on: ubuntu-latest | |
container: | |
# INFO: python 2 is no longer supported in | |
# actions/setup-python, use python docker image instead | |
image: python:${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install requirements (py ${{ matrix.python-version }}) | |
run: | | |
pip install -e ".[testing]" | |
- name: Run all tests (py ${{ matrix.python-version }}) | |
run: python -m unittest discover |