Merge pull request #119 from lavie/fix-dockerfile #130
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
on: [push, pull_request] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified | |
- run: pip install poetry | |
- run: poetry install | |
- name: Log into Dockerhub | |
if: github.event_name == 'push' | |
uses: docker/login-action@v2 | |
with: | |
username: assaflavie | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- run: make test | |
- if: ${{ failure() }} | |
run: ./inspect_fixtures.sh |