Move toolforge_i18n to Git submodule #2257
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: Test | ||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '30 20 * * *' | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: | ||
- '3.11' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
submodules: recursive | ||
Check failure on line 16 in .github/workflows/test.yaml GitHub Actions / TestInvalid workflow file
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- run: pip install --upgrade pip | ||
- run: pip install -r requirements.txt -r dev-requirements.txt | ||
- run: make check | ||
prod-requirements: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: | ||
- '3.11' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
submodules: recursive | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- run: pip install --upgrade pip | ||
# only install prod requirements | ||
- run: pip install -r requirements.txt | ||
# check that app.py runs without crashing on a missing import | ||
- run: python app.py |