diff options
author | JensDiemer <git@jensdiemer.de> | 2020-01-18 19:18:20 +0100 |
---|---|---|
committer | JensDiemer <git@jensdiemer.de> | 2020-01-18 19:32:15 +0100 |
commit | f5bc0d6b695403c5bd3905f85b34f28548513580 (patch) | |
tree | c930eac7b3bc345e3d415f8027f109816b84c64e /.github | |
parent | 6e3f14bca5b77f24c86fb7fc4e9eb912432a9cba (diff) | |
download | creole-f5bc0d6b695403c5bd3905f85b34f28548513580.tar.gz |
Update Makefile and use autopep8 instead of black
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/pythonapp.yml | 35 |
1 files changed, 10 insertions, 25 deletions
diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index d1c6fd7..2480f8a 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,9 +1,9 @@ -name: build +name: test on: [push] jobs: - lint: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 @@ -13,31 +13,16 @@ jobs: python-version: 3.7 - name: Install package - run: make install + run: | + make install-poetry + source $HOME/.poetry/env + make install - name: List installed packages run: poetry run pip freeze - - name: Run linters - run: make lint - - test: - needs: lint - runs-on: ${{ matrix.platform }} - strategy: - matrix: - platform: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8] - steps: - - uses: actions/checkout@v1 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - - name: Install package - run: make install +# - name: Run linters +# run: make lint - - name: Run unit tests - run: make test + - name: Run pytest via tox + run: make tox |