I wrote some code to test my project and I want to run the test on GitHub Actions
I have the following workflow definition.
name : Testing
on: push
jobs:
registrar:
runs-on: ubuntu-latest
steps:
- name: Run Django unit tests
uses: actions/checkout@v2
run:|
pip3 install --user -r requirements.txt
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py test
The workflow failed with the following error.
An action could not be found at the URI 'https://api.github.com/repos/actions/checkout/tarball/v1 run:| pip3 install --user -r requirements.txt python3 manage.py makemigrations python3 manage.py migrate python3 manage.py test'
How do I fix this?