alternate way of CI structure #16
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
name: Set up Arches project | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: | |
image: docker:dind | |
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 dependencies | |
run: | | |
sudo apt-get install -y make | |
- name: Set up Arches project | |
run: | | |
cp Makefile .. | |
cd .. | |
make create ARCHES_PROJECT=testproject | |
- name: Check build | |
run: | | |
make build | |
- name: Check run | |
run: | | |
make run & | |
sleep 20 | |
make down |