read from secrets? #6
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: Python CI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Log directory structure | |
run: | | |
pwd | |
ls -R | |
- name: pip requirements | |
run: pip install -r requirements.txt | |
- name: Run test script | |
env: | |
DUNE_API_KEY: ${{ secrets.DUNE_API_KEY }} | |
run: python -u github_workflows/action.py | |
- name: Print name | |
run: echo "Hello ${{ secrets.ENV_TEST }}" | |