Merge pull request #65 from pyvec/hide-tickets #129
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] | |
jobs: | |
hello_world_job: | |
runs-on: ubuntu-latest | |
name: Build docker image, lint and run tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build docker image | |
id: build | |
uses: docker/build-push-action@v2 | |
with: | |
tags: pycon:latest | |
push: false | |
# TODO: this will fail because the code doesnt pass the lint checks yet. | |
# Fix the errors and re-enable linters | |
#- name: Lint | |
# uses: addnab/docker-run-action@v3 | |
# id: lint | |
# with: | |
# image: pycon:latest | |
# run: make ci/lint | |
- name: Run tests | |
uses: addnab/docker-run-action@v3 | |
id: test | |
with: | |
image: pycon:latest | |
run: make ci/test | |
# Use the output from the `hello` step | |
- name: Get the output time | |
run: echo "The time was ${{ steps.hello.outputs.time }}" | |