Try running custom image #4
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
# https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container | |
name: Run Tests | |
on: | |
push: | |
branches: | |
- jcreed/ci-test-experiment | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: jcreed/hello-test:latest | |
env: | |
EXAMPLE_VAR: example_value | |
steps: | |
- name: Check for dockerenv file, prove to ourselves that we're running in container | |
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Debugging | |
run: "echo `pwd` && ls" | |
- name: Debugging | |
run: "ls /usr/bin/hello && /usr/bin/hello" | |
- name: Run tests | |
run: cd TEST && ./regression.sh |