i have created a this folder .github/workflows/checks.yml
name: checks
on: [push]
jobs:
test-lint:
name: Test and Lint
runs-on: ubuntu-20.04
steps:
– name: login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
– name: checkout
uses: actions/checkout@v2
– name: Test
run: docker compose run –rm app sh -c “python manage.py test”
– name: Lint
run: docker compose run –rm app sh -c “flake8”
In github, i see nothing when i click on action
this image shows what i see in github
abdoulaye sene is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.