fixud #20
Workflow file for this run
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: devContainer | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
tests: | |
name: Run devcontainer test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: "Create environment files" | |
run: | | |
.devcontainer/prepare-env.sh | |
cp .devcontainer/software/docker-compose.yml .devcontainer/docker-compose.yml | |
- name: run tests software | |
uses: devcontainers/ci@v0.3 | |
with: | |
configFile: .devcontainer/software/devcontainer.json | |
env: .devcontainer/software/.env | |
runCmd: ./software/build.sh | |
- name: run tests stm32 | |
uses: devcontainers/ci@v0.3 | |
with: | |
configFile: .devcontainer/stm32/devcontainer.json | |
env: .devcontainer/stm32/.env | |
runCmd: make |