Update e2e_tests workflow to change directory command and add listing… #2
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: Run Tests | |
on: | |
push: | |
branches: | |
- e2e-deploy | |
pull_request: | |
branches: | |
- e2e-deploy | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# Set up Python | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' # Adjust the version as needed | |
# Install opal dependencies | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
# Ensure Docker is installed and running | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v2 | |
# cd into the tests directory | |
- name: cd into tests directory | |
run: cd ./tests | |
# Install test dependencies | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
# Run the tests using the script | |
- name: Run tests | |
run: ls -la && ./run.sh |