Skip to content

- Added Env variables transfer into tests.yml #11

- Added Env variables transfer into tests.yml

- Added Env variables transfer into tests.yml #11

Workflow file for this run

name: Testing
on:
push:
branches:
- master
- dev
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
env:
AUTH_SECRET_KEY: ${{ secrets.AUTH_SECRET_KEY }}
DB_HOST: ${{ secrets.DB_HOST }}
S3_API_ENDPOINT: ${{ env.S3_API_ENDPOINT }}

Check failure on line 17 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Testing

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 17, Col: 24): Unrecognized named-value: 'env'. Located at position 1 within expression: env.S3_API_ENDPOINT .github/workflows/tests.yml (Line: 18, Col: 20): Unrecognized named-value: 'env'. Located at position 1 within expression: env.S3_IPFS_URL
S3_IPFS_URL: ${{ env.S3_IPFS_URL }}
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
S3_SECRET_ACCESS_KEY_ID: ${{ secrets.S3_SECRET_ACCESS_KEY_ID }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11.3
- name: Install base dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-base.txt
- name: Install dev dependencies
run: |
python -m pip install -r requirements-dev.txt
- name: Compile Translations
uses: whtsky/msgfmt-action@20190305
- name: Set working directory to /tests
run: cd tests
- name: Run Tests
run: |
pytest