Skip to content

add CI snippet

add CI snippet #30

Workflow file for this run

name: Set up Arches project
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- name: Check out repository code
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Set up Arches project
run: |
ls -ltr
mkdir __ci
cd __ci
cp ../Makefile .
make create ARCHES_PROJECT=testproject
id -u
ls -ltr testproject
- name: Add snippet
run: |
id -u
ls -ltr __ci/testproject
cat .github/workflows/urls.py-snippet >> __ci/testproject/urls.py
- name: Check build
run: |
ls -ltr
cd __ci/testproject
make build
- name: Check run
run: |
ls -ltr
cd __ci/testproject
make run &
sleep 20
make down